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

badgify

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

badgify

Rebuild readme markdown badges from package.json scripts

  • 1.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Badgify

npm status build status dependency status coverage status

This package will generate stable links and markdown syntax for npm modules. In particular it outputs syntax for npm, travis, david, coveralls & stability badge svgs so you can easily paste them to your readme.

Usage

Install (with -g or npm link the install), and use in a package root:

$ badgify

Example output (from badgify folder):

[![npm status](http://img.shields.io/npm/v/badgify.svg)](https://www.npmjs.org/package/badgify)
[![build status](https://secure.travis-ci.org/clux/badgify.svg)](http://travis-ci.org/clux/badgify)
[![dependency status](https://david-dm.org/clux/badgify.svg)](https://david-dm.org/clux/badgify)
[![coverage status](http://img.shields.io/coveralls/clux/badgify.svg)](https://coveralls.io/r/clux/badgify)

Then copy paste that to the start of your README.md. For speed you could pipe it through xclip, or just use it to generate a basic README:

echo "# $(basename $PWD)" > README.md
badgify >> README.md

How

  • Will generate npm badge using the package.json name key if the package is not private
  • If your repo has the .travis.yml file it will generate a travis build badge
  • It will always generate the david-dm link for your dependencies
  • If your package.json has a coveralls or a coverage script it will generate the svg badge that links to your coveralls.io report
  • Stability badge can be provided if you set the stability key in package.json

License

MIT-Licensed. See LICENSE file for details.

Keywords

FAQs

Package last updated on 13 Nov 2015

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