Configurable download graphs for NPM packages.
Behind the scenes, the NPM API is queried to gather weekly download statistics for graph generation.
SVGo is used for generating SVGs programmatically.
The frontend is a React SPA built with Vite 3. It serves as a playground for the backend by enabling experimentation with the configurable parameters.
It presents previews of cards and an option to copy card links to the clipboard.
- Visit npm-cards.vercel.app
- Configure the card to fit your needs. While the frontend only allows for certain input ranges concerning size, padding, etc., modyfing the output URL allows for additional customization.
- Press “Copy to Clipboard”.
- Embed the image URL in HTML, Markdown, etc.
MIT – Copyright © Jan Müller