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

Made by Antonio Ramirez

list-deps

0.2.2

@jonschlinkert

npmHomeRepoSnykSocket
Downloads:367
$ npm install list-deps
DailyWeeklyMonthlyYearly

list-deps NPM version Build Status

List the dependencies in the package.json of the current project.

Install with npm

npm i list-deps --save

Usage

var deps = require('list-deps');
//=> {"load-pkg":"^1.1.1"}

deps('devDependencies');
//=> {"helper-related":"^0.1.0","mocha":"*","should":"*"}

Related projects

  • load-pkg: Load the package.json in the base of the user's current project.
  • cwd: Node.js util for easily getting the current working directory of a project based on package.json or the given path.
  • resolve-dep: Return an array of resolved filepaths for require-able local or named npm modules. Wildcard (glob) patterns may be used.

Running tests

Install dev dependencies.

npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

  • github/jonschlinkert
  • twitter/jonschlinkert

License

Copyright (c) 2015 Jon Schlinkert
Released under the MIT license


This file was generated by verb-cli on March 05, 2015.