Socket
Socket
Sign inDemoInstall

badgs

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    badgs

Badges generator


Version published
Weekly downloads
12
increased by200%
Maintainers
1
Install size
39.8 kB
Created
Weekly downloads
 

Readme

Source

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.

Keywords

FAQs

Last updated on 17 Jun 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc