Created
May 28, 2018 19:34
-
-
Save nestoru/05ab51f54d9fe8be4938882f9e6a925a to your computer and use it in GitHub Desktop.
install and use node security package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ npm install -g nsp | |
$ cd /path/to/project | |
$ nsp check | |
# To exclude errors create a file with exceptions (not recommended): | |
$ cat .nsprc | |
{ | |
"exceptions": [ | |
"https://nodesecurity.io/advisories/532", | |
"https://nodesecurity.io/advisories/536" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment