npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

dpn

3.0.0

@gillstrom

npmHomeRepoSnykSocket
Downloads:13
$ npm install dpn
DailyWeeklyMonthlyYearly

dpn Build Status

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