badgs
v1.1.1
Published
Badges generator
Downloads
12
Readme
badgs
Badges generator
Features
- Generates badges like any you can see above.
- No dependecies.
- Small and possibly work even on client.
- Easy to write own templating function.
- Well tested.
- Express/Connect middleware.
Install
npm i badgs
// OR for CLI usage
npm i -g badgs
Usage
CLI
badgs subject status color [-o output.svg]
// Examples
badgs build success green // File will be saved inbuild-success-green.svg
badgs build success green -o custom_file_name.svg
As module
import Badgs from 'badgs';
const badgs = new Badgs();
console.log(badgs.render('status', 'subject', 'red'));
Author
Ideas/Templates — stolen from here and here.
Stanislav Sysoev [email protected] http://github.com/d4rkr00t
License
- MIT : http://opensource.org/licenses/MIT
Contributing
Contributing are highly welcome! This repos is commitizen friendly — please read about it here.