dependants-stream

Get dependants of a module on npm

dependants-stream

Get a stream of modules depending on a given module.

var dependants = require('dependants-stream');
 
dependants('intersect')
  .on('data', function(name) {
    console.log(name);  
  })
  .on('end', function() {
    // ... 
  });

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

$ npm install dependants-stream

MIT