The Contast Node.JS agent can be installed via NPM; please review the information below. An overview of the instrumentation process is also available at https://www.contrastsecurity.com/knowledge-hub/video/how-to-instrument-node-agent.
Please see our Node.js - Supported Technologies page for additional information on our application stacks supported by our Node.js agent.
npm install node-contrast-#.#.#.tgz --no-save
"scripts": {"contrast": "node-contrast <app-main>.js"}
Configure via contrast_security.yaml
file in your app’s root dir or via command line arguments
Run via script:
npm run contrast