dpn

Get the dependents of a users npm modules

Usage no npm install needed!

<script type="module">
  import dpn from 'https://cdn.skypack.dev/dpn';
</script>

README

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

License

MIT © Andreas Gillström