Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
evidence-connector-npm-stats
Advanced tools
This package makes npm download statistics available as an Evidence datasource.
This package makes npm download statistics available as an Evidence datasource.
Specify a package that you want download stats for and this datasource will return daily downloads.
Table Name | Description |
---|---|
last_day | Daily downloads for the last day |
last_week | Daily downloads for the last week |
last_month | Daily downloads for the last month |
last_year | Daily downloads for the last year |
max_range | Daily downloads for max range (currently 550 days) |
Each table has the same columns:
Column Name | Type | Description |
---|---|---|
downloads | number | The number of downloads for that day |
day | date | The date of the downloads |
npm install evidence-connector-npm-stats
datasources:
"evidence-connector-npm-stats": { }
Start the development server, navigate to localhost:3000/settings and add a new datasource. You should see "npm-stats" as an option.
Add the package name you want to track to the datasource settings.
This template comes with vitest
pre-installed. If you've used jest, vitest implements a very similar API.
Tests have been stubbed in index.spec.js
, and can be run with npm run test
Typescript has also been included with a basic configuration, and your types can be checked with npm run check
FAQs
This package makes npm download statistics available as an Evidence datasource.
The npm package evidence-connector-npm-stats receives a total of 6 weekly downloads. As such, evidence-connector-npm-stats popularity was classified as not popular.
We found that evidence-connector-npm-stats demonstrated a healthy version release cadence and project activity because the last version was released less than 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 uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.