node-modules-scanner

1.1.1 • Public • Published

npm-dependencies-preview

this is a scanner that can view all the dependencies before you install it

usage

var content  = fs.readFileSync('./_package.json', 'utf-8');
 
ns.config({
  getRegistry: function(name, version){
    return 'http://registry.npmjs.org/'
  }
})
 
ns.ls(content)
.then(map=>{
  fs.writeFileSync('./data.json', JSON.stringify(map))
  console.info('done! you will see the json file at data.json');
})

Readme

Keywords

Package Sidebar

Install

npm i node-modules-scanner

Weekly Downloads

2

Version

1.1.1

License

MIT

Last publish

Collaborators

  • iaiae