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.
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
name
key if the package is not private
.travis.yml
file it will generate a travis build badgepackage.json
has a coveralls
or a coverage
script it will generate the svg badge that links to your coveralls.io reportstability
key in package.jsonMIT-Licensed. See LICENSE file for details.