
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
npm-pkg-stats
Advanced tools
Quickly grok the current health of an npm package using a single command.
If you'd like to get stats from GitHub, please follow these instructions to create a personal access token. You will only need read access for the script to work.
Once you've created the token, add it to your global environment variables under NPM_PKG_STATS_TOKEN
.
For example, if you're using bash, add the following line to your .bashrc
file:
export NPM_PKG_STATS_TOKEN=add_token_here
Now that you've created your token, just install npm-pkg-stats
globally:
npm install --global npm-pkg-stats
And you're good to go!
npm-pkg-stats package_name
For example, npm-pkg-stats react
prints the following stats to the console:
┌──────────────────────────┬───────────────┐
│ (index) │ Values │
├──────────────────────────┼───────────────┤
│ version │ '16.10.2' │
│ dependencies │ '3' │
│ gzip size │ '2.6 kB' │
│ weekly npm downloads │ '6,007,165' │
│ stars │ '137,662' │
│ open PRs │ '223' │
│ open PRs (% of total) │ '8.43%' │
│ closed PRs │ '2,422' │
│ open issues │ '630' │
│ open issues (% of total) │ '7.68%' │
│ closed issues │ '7,577' │
│ last release │ '2019-10-03' │
│ license │ 'MIT License' │
└──────────────────────────┴───────────────┘
If you prefer to use npx
:
npx npm-pkg-stats react
FAQs
A CLI tool that gets stats on NPM packages.
The npm package npm-pkg-stats receives a total of 2 weekly downloads. As such, npm-pkg-stats popularity was classified as not popular.
We found that npm-pkg-stats 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.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.