
Security News
AI Agent Lands PRs in Major OSS Projects, Targets Maintainers via Cold Outreach
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.
dependent-counts
Advanced tools
Get counts of how many packages depend on the given package. Works offline.
Get counts of how many packages depend on the given package. Works offline.
If you need the actual package names (and not just counts), see dependent-packages
npm install dependent-counts --save
const test = require('tape')
const counts = require('.')
test('counts', function (t) {
t.ok(Array.isArray(counts), 'is an array')
t.ok(counts.length > 30 * 1000, 'has hella entries')
t.comment('every count')
t.ok(counts.every(count => count.name.length > 0), 'has a name')
t.ok(counts.every(count => count.dependents > -1), 'has a dependents count')
t.ok(counts.every(count => count.devDependents > -1), 'has a dependents count')
t.comment('express')
t.ok(counts.find(count => count.name === 'express').dependents > 10000, 'has a dependents count')
t.ok(counts.find(count => count.name === 'express').devDependents > 1000, 'has a devDependents count')
t.end()
})
npm install
npm test
None
MIT
Generated by package-json-to-readme
FAQs
Get counts of how many packages depend on the given package. Works offline.
We found that dependent-counts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.

Research
/Security News
Chrome extension CL Suite by @CLMasters neutralizes 2FA for Facebook and Meta Business accounts while exfiltrating Business Manager contact and analytics data.

Security News
After Matplotlib rejected an AI-written PR, the agent fired back with a blog post, igniting debate over AI contributions and maintainer burden.