Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-nsp

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-nsp

A gulp plugin that runs the Node Security Project audit for you

  • 0.4.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4.3K
decreased by-13.43%
Maintainers
1
Weekly downloads
 
Created
Source

gulp-nsp

Dependency Status

A gulp plugin that runs the Node Security Project audit for you

###Usage Install gulp-nsp into your project.

npm install gulp-nsp --save

Then in your gulpfile, add the following task like so.

var gulpNSP = require('gulp-nsp');

//To check your package.json
gulp.task('nsp', function (cb) {
  gulpNSP('./package.json', cb);
});

//To check your shrinkwrap.json
gulp.task('nsp', function (cb) {
  gulpNSP('./npm-shrinkwrap.json', cb);
});

//If you don't want to stop your gulp flow if some vulnerabilities have been found:
gulp.task('nsp', function (cb) {
  gulpNSP({
    path: './npm-shrinkwrap.json',
    stopOnError: false
  }, cb);
});

####Note The string you pass to the module is the path to your package.json/npm-shrinkwrap.json relative to your gulpfile.

Keywords

FAQs

Package last updated on 19 Apr 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc