npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

winstall

1.0.1

@yoshuawuyts

npmHomeRepoSnykSocket
Downloads:8
$ npm install winstall
DailyWeeklyMonthlyYearly

winstall stability

npm version build status downloads js-standard-style

Install all dependencies required by a project.

CLI

  Usage:
    $ winstall [dir] [options]

  Options:
    -h, --help              Print usage
    -v, --version           Print version
    -d, --save-dev          Save as dev dependencies

  Examples:
    winstall               Install all dependencies for index.js
    winstall client.js     Install all dependencies for "client"

Usage

var winstall = require('winstall')

winstall(__dirname + 'index.js', function (err) {
  if (err) throw errr
})

API

install(root, [opts], callback(err))

Install all dependencies for root. Saves all dependencies by default. Opts can be:

  • opts.save-dev: save as dev dependencies instead.

License

MIT