Visualize your package npm downloads in a beautiful chart, ready to be shared with your community.
npm-chart.mp4
- Beautiful page for your npm package
- Downloads chart to png or svg
- Metrics are cached for maximum performance
- Running on the Edge with NuxtHub
- Using npm-stat.com API
Make sure to install the dependencies with pnpm:
pnpm install
Start the development server on http://localhost:3000
:
pnpm dev
Build the application for production:
pnpm build
Deploy the application on the Edge with NuxtHub on your Cloudflare account:
npx nuxthub deploy
Then checkout your server logs, analaytics and more in the NuxtHub Admin.
You can also deploy using Cloudflare Pages CI.
- npm-stat.com for the npm downloads API
- @danielroe for the domain name