Socket
Book a DemoInstallSign in
Socket

dpn

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dpn

Get the dependents of a users npm modules

Source
npmnpm
Version
1.2.0
Version published
Weekly downloads
6
100%
Maintainers
1
Weekly downloads
 
Created
Source

dpn Build Status

Get the dependents of a users npm modules

CLI

$ npm install --global dpn
$ dpn --help

  Usage
    $ dpn [username]

  Options
    -j, --json     Output the result as JSON
    -r, --reverse  Reverse the result
    -v, --verbose  Show the name of the dependents

Install

$ npm install --save dpn

Usage

const dpn = require('dpn');

dpn('gillstrom').then(result => {
	console.log(result);
	//=> {'app-size': ['osx-app'], 'array-max-length': ['get-arrows'], 'battery-level': ['evac'], ...}
});

API

dpn(username)

Returns a promise that resolves to an object.

username

Required
Type: string

The username to look up.

License

MIT © Andreas Gillström

Keywords

app

FAQs

Package last updated on 27 Mar 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