dpn
v3.0.0
Published
Get the dependents of a users npm modules
Downloads
15
Readme
dpn
Get the dependents of a users npm modules
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
- dpn-cli - CLI for this module
License
MIT © Andreas Gillström