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

Made by Antonio Ramirez

dependants-stream

1.0.1

@juliangruber

npmHomeRepoSnykSocket
Downloads:7
$ npm install dependants-stream
DailyWeeklyMonthlyYearly

dependants-stream

Get a stream of node modules depending on a given module.

build status

Example

var dependants = require('dependants-stream');

dependants('intersect')
  .on('data', function(name) {
    console.log(name);  
  })
  .on('end', function() {
    // ...
  });

API

dependants(name[, opts])

Create a readable stream emitting names of modules depending on module name. Overwrite the default registry url with opts.registry. The stream can be destroyed.

Installation

$ npm install dependants-stream

License

MIT