kopia lustrzana https://github.com/badgen/badgen
![]() |
||
---|---|---|
lib | ||
test | ||
.gitignore | ||
.npmignore | ||
README.md | ||
now.json | ||
package-lock.json | ||
package.json | ||
service.js |
README.md
badgen

Fast, handcraft, pure JavaScript badge generator.
Usage
Badge Service
https://badgen.now.sh/badge/:subject/:status/:color
subject
Textstatus
Textcolor
Color RGB (default '3C1') or Color Preset (green
,yellow
, ...see below)
Color Presets:
Examples:
Programmatically
npm install badgen
const badgen = require('badgen')
const svgString = badgen({
subject: 'npm',
status: 'v1.2.3',
color: 'blue'
})
License
MIT @ Amio