Socket
Socket
Sign inDemoInstall

gulp-depgen

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-depgen

Use to generate dependencies for package.json


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Auto dependency generator for package.json

sample

A "Hello world" for this might like this:

var depgen =  require('depgen');

gulp.task('default', function () {
    return gulp.src('./index.js')
        .pipe(depgen('./package.json'))
});

"depgen" receives js files as input.

There is no output but, instead, "depgen" receives string-typed argument, which allow you to bind a "package.json" file.

configs

  • package: the path to "package.json"
  • isDev = false: use devDependencies if is set to true
  • checkVersion = true: check the latest version over internet
  • ignoreExisting = false: will ignore existing dependencies if is set to true
  • forceUpdate = true: will overwite existing dependencies with its latest version

Keywords

FAQs

Package last updated on 23 Nov 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