offers a simple library to audit your package.json or a stream of package.json
github.com/nodesecurity/nsp-audit-package