1.0.1 • Published 8 years ago

dependants-stream v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

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