Get the dependents of a users npm modules
$ npm install dpn
const dpn = require('dpn');
dpn('gillstrom').then(result => {
console.log(result);
//=> {'app-size': ['osx-app'], 'array-max-length': ['get-arrows'], 'battery-level': ['evac'], ...}
});
Returns a promise that resolves to an object.
Required
Type: string
The username to look up.
- dpn-cli - CLI for this module
MIT © Andreas Gillström