Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

badgifier

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

badgifier

Generate badges without third-parties services

  • 2.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

Badgifier

Build Status codecov dependencies Status code-style

Generate your badges without third-parties services

Why?

You want to just plug and play something to have a cool and very meaningful test coverage badge on your README. Or you have a private repo and don't want to integrate with any SaaS.

What's supported?

Currently only clover reports. Working to bring all the standard reporters and even let you input your own.

How?

The first time you need to add a placeholder on your destination file. Can be both markdown or HTML:

![badgifier-cobertura]

Then because Badgifier is a cli command just execute it:

badgifier -i coverage/clover.xml -o README.md

What params the cli accepts:

optionaliasdefaultdescription
formatf'markdown'In which language your placeholder is (md or html)
inputi'./coverage/clover.xml'From where to read coverage report
outputoconsole.logWhere to send the badge
rater(Internal)Which formula will use to calculate the value
threshold-highth95From which value is a green situation
threshold-lowtl65Until which value is a red situation

Contributing

Right now we're really interesting into knowing which reporters will you want to be supported out of the box. And also, what's broken when you use it. So, open as many issues as you feel like 🕵🏽‍♀️

And, of course, any PR is more than welcome :P

Keywords

FAQs

Package last updated on 28 Nov 2017

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc