Skip to content

daniepaul/dp-create-badge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dp-create-badge

Create badge based on supplied percentage

Installation

npm install dp-create-badge

alternatively you can also install it globally.

Usage

./node_modules/.bin/dp-create-badge --PERCENTAGE 95

This will create a coverage.svg with percentage as 95%.

Configuration

Text

Badge

./node_modules/.bin/dp-create-badge --TEXT custom

Color

Badge

./node_modules/.bin/dp-create-badge --COLOR blue

Percentage

Badge

./node_modules/.bin/dp-create-badge --PERCENTAGE 95

Note: If color is not supplied, the color code is automatically decided based on the percentage value.

Filepath

./node_modules/.bin/dp-create-badge --FILEPATH ./badge.svg

About

Create badge based on supplied percentage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published