get-deps

2.2.0 • Public • Published

get-deps

get the deps that will be installed if no arguments are specified

var deps = require('get-deps')
 
console.log(deps(process.cwd(), opts))
//['package@1.0.1',...]

opts should be command line opts parsed by minimist. if the --no-optional argument is given, then this not include optional deps.

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.2.0
    3
    • latest

Version History

Package Sidebar

Install

npm i get-deps

Weekly Downloads

7

Version

2.2.0

License

MIT

Last publish

Collaborators

  • dominictarr
  • nopersonsmodules