Skip to content
Get the most depended on npm packages per author
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
.gitignore
README.md
index.js
package-lock.json
package.json

README.md

npm-author-most-depended

Get the most depended on npm packages per author.

Usage

List packages by an author sorted descending by direct dependent count count:

$ npx npm-author-most-depended juliangruber | head
   431 : http://npm.im/levelup
   408 : http://npm.im/level
   386 : http://npm.im/koa-static
   283 : http://npm.im/hyperquest
   276 : http://npm.im/memdown
   271 : http://npm.im/leveldown
   252 : http://npm.im/component-emitter
   246 : http://npm.im/tape-run
   195 : http://npm.im/koa-compose
   176 : http://npm.im/debounce

API

$ npm install npm-author-most-depended
const npmAuthorMostDepended = require('npm-author-most-depended')

const packages = await npmAuthorMostDepended('juliangruber')
for (const pkg of packages) {
  console.log(`${String(pkg.dependents).padStart(6)} : http://npm.im/${pkg.name}`)
}

License

MIT

You can’t perform that action at this time.