1.1.1 • Published 9 years ago

badgs v1.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

badgs

npm license github-issues travis-status coveralls Commitizen friendly

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 d4rkr00t@gmail.com http://github.com/d4rkr00t

License

Contributing

Contributing are highly welcome! This repos is commitizen friendly — please read about it here.

1.1.1

9 years ago

1.1.0

10 years ago

1.0.0

10 years ago

0.5.1

10 years ago

0.5.0

10 years ago

0.4.2

10 years ago

0.4.1

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago