git-badge-generator
v1.3.0
Published
This is simple code for badge generator
Downloads
9
Readme
This is a simple badge generator
Documentation
Quick use
npx git-badge-generator
Installation
npm i git-badge-generator -g
Usage
git-badge-generator <port number>
https://badge-generator.glitch.me/badge?<params>
Params
name | value | required
--- | --- | ---
message | text | yes
label | text
labelColor | valid css color
color | valid css color
style | plastic
, flat
, flat-square
, for-the-badge
, social
Examples
params | badge
--- | ---
message=test
|
message=test&color=cc0
|
message=test&color=red
|
message=test&label=cool
|
message=test&label=cool&labelColor=c0c
|
message=test&label=lol&style=flat
|
labelColor=c00&color=0c0&label=test%20wiadomości%20push&message=eśąźć
|
Example
git-badge-generator 3000
Env
Creating Env
touch .env
Env Example
Usage
PORT=<Port>
Example
PORT=3000