Nancy's Preferred Machete
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

dependency-ls

1.1.1 • Public • Published

dependency-ls

This module returns a promise containing an object of top level node modules installed in the supplied path.

This module is essentially a fork of https://www.npmjs.com/package/npmlist. I just needed the results in a json object and I wanted the module to be requireable.

USAGE

npm instal dependency-ls --save

var depls = require('dependency-ls')
return depls(process.cwd())
.then(function(result) {
    console.log(result)
}

Keywords

none

install

npm i dependency-ls

Downloadsweekly downloads

40,019

version

1.1.1

license

Apache V2

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar