Socket
Book a DemoInstallSign in
Socket

dependants-stream

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dependants-stream

Get dependants of a module on npm

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

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

Keywords

npm

FAQs

Package last updated on 10 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts