Create badge based on supplied percentage
npm install dp-create-badgealternatively you can also install it globally.
./node_modules/.bin/dp-create-badge --PERCENTAGE 95This will create a coverage.svg with percentage as 95%.
./node_modules/.bin/dp-create-badge --TEXT custom./node_modules/.bin/dp-create-badge --COLOR blue./node_modules/.bin/dp-create-badge --PERCENTAGE 95Note: If color is not supplied, the color code is automatically decided based on the percentage value.
./node_modules/.bin/dp-create-badge --FILEPATH ./badge.svg