包详细信息

mos-plugin-shields

mosjs113MIT2.2.3

A mos plugin for creating markdown shields

mos-plugin, markdown, shields, badges

自述文件

!--@h1([pkg.name])--

mos-plugin-shields

!--/@-- !--@blockquote([pkg.description])--

A mos plugin for creating markdown shields !--/@--

!--@shields.flatSquare('npm')--

npm version !--/@--

Installation

npm install --save mos-plugin-shields

Usage

Add this code snippet to your README.md

<!--@shields('travis', 'deps')-->
<!--/@-->

Run mos in the terminal.

You'll get the travis and david shields in your readme via shield.io.

API

  • shields(...shields)
  • shields.flat(...shields)
  • shields.flatSquare(...shields)
  • shields.plastic(...shields)

The currently supported shields are: travis, coveralls, npm, deps, devDeps, peerDeps, gemnasium, climate.

NOTE: The shields will be created for the master branch.

License

MIT © Zoltan Kochan