Skip to content

Instantly share code, notes, and snippets.

@nestoru
Created May 28, 2018 19:34
Show Gist options
  • Save nestoru/05ab51f54d9fe8be4938882f9e6a925a to your computer and use it in GitHub Desktop.
Save nestoru/05ab51f54d9fe8be4938882f9e6a925a to your computer and use it in GitHub Desktop.
install and use node security package
$ 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