NPM Download Statistics for DavidWells Open Source Projects. Updated Daily.
Fork
this repository.- Add your npm username/author or list of packages in
package.json
asnpm-stats
key. for author
{
"npm-stats": "DavidWells"
}
or for packages
{
"npm-stats": [
"markdown-magic",
"analytics"
]
}
- Run
npm i
and thennpm start
to generate the Downloads. - The repo comes with a daily CRON job that updates the Downloads.
- For updating the badge replace
DavidWells
in badge endpoint to your github username/orgname. https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2F`username`%2Fnpm-statistics%2Fmaster%2Fstats.json - Enable
GitHub Actions
for your forked repo, as it is enabled by default for forks.
- npmtotal - Find you npm download statistics
- Props to ClearTax for this awesome action