$ npm install snyk-add-to-package
This adds Snyk to the node package.json file, as the correct dependency type (which depends on whether the user is protecting or testing).
package.json