gillstrom / dpn

Get the dependents of a users npm modules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dpn Build Status

Get the dependents of a users npm modules

Install

$ npm install 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.

Related

License

MIT © Andreas Gillström

About

Get the dependents of a users npm modules

License:MIT License


Languages

Language:JavaScript 100.0%