npm-badge-maker
v1.0.0
Published
Generate README badges for npm packages. One command, instant shields.io badges for version, downloads, license, and node version.
Maintainers
Readme
badge-gen
Generate README badges for npm packages. One command, instant shields.io badges.
Install
npm install -g badge-genOr use directly with npx:
npx badge-gen <package-name>Usage
# Generate badges for any npm package
badge-gen ai-pdf-builder
# Append badges to a README file
badge-gen web-qa-bot --output README.mdOutput
[](https://www.npmjs.com/package/ai-pdf-builder) [](https://www.npmjs.com/package/ai-pdf-builder) [](https://www.npmjs.com/package/ai-pdf-builder) []()Renders as:
Badges Generated
| Badge | Description | |-------|-------------| | Version | Current npm version | | Downloads | Monthly download count | | License | Package license | | Node | Required Node.js version |
Options
--output, -o <file> Append badges to file instead of stdout
--help, -h Show help messageWhy?
Manually creating badge markdown is tedious. This tool fetches live data from npm and generates consistent, copy-paste ready badges.
License
MIT
