pliers-npm-security-check

Checks the security status of modules in your package.json against the nodesecurity.io web service

Usage no npm install needed!

<script type="module">
  import pliersNpmSecurityCheck from 'https://cdn.skypack.dev/pliers-npm-security-check';
</script>

README

pliers-npm-security-check

Checks the security status of modules in your package.json against the nodesecurity.io web service

Installation

  npm install pliers-npm-security-check

Usage

This will expose a new pliers task called npmSecurityCheck.

// within a pliers.js
module.exports = function (pliers) {

  require('pliers-npm-security-check')(pliers)

}

Then from the cli:

pliers npmSecurityCheck

If you already have a task called npmSecurityCheck, you can provide a name to the task like so:

// within a pliers.js
module.exports = function (pliers) {

  require('pliers-npm-security-check')(pliers, 'checkSecurity')

}

Credits

Dom Harrington follow me on twitter @domharrington

Licence

Licensed under the New BSD License