@jscpd/badge-reporter
Reporter for jscpd. Generate a badges with copy/paste level.
Last updated 6 months ago by apk .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @jscpd/badge-reporter 
SYNC missed versions from official npm registry.

@jscpd/badge-reporter

The badge reporter for jscpd.

Generate badges like that:

jscpd-badge-green

Getting started

Install

npm install @jscpd/badge-reporter

Usage

jscpd [...options] --reporters badge /path/to/source

Options


interface IBadgeOptions {
  color?: string, // color of badge, if threshold > current - green, if  threshold < current - red, no threshold provided - grey
  subject?: string, // label of the badge, default "Copy/Paste"
  style?: string, // "flat" of undefined, default - undefined
  icon?: string, // 'data:image/svg+xml;base64,...' icon
  iconWidth?: number, // width of the icon
  path?: string, // path to badge, default is 'jscpd-badge.svg' in output folder
}

MIT © Andrey Kucherenko

Current Tags

  • 4.2.5                                ...           latest (6 months ago)
  • 4.0.0                                ...           rc (3 years ago)

18 Versions

  • 4.2.5                                ...           6 months ago
  • 4.2.4                                ...           6 months ago
  • 4.2.3                                ...           6 months ago
  • 4.2.2                                ...           6 months ago
  • 4.2.1                                ...           6 months ago
  • 4.2.0                                ...           6 months ago
  • 4.1.1                                ...           6 months ago
  • 4.1.0                                ...           7 months ago
  • 4.0.5                                ...           8 months ago
  • 4.0.4                                ...           10 months ago
  • 4.0.3                                ...           a year ago
  • 4.0.2                                ...           a year ago
  • 4.0.1                                ...           3 years ago
  • 4.0.0                                ...           3 years ago
  • 3.4.5                                ...           5 years ago
  • 3.4.1                                ...           5 years ago
  • 3.3.23                                ...           6 years ago
  • 3.3.22                                ...           6 years ago
Maintainers (1)
Downloads
Total 57
Today 0
This Week 0
This Month 21
Last Day 0
Last Week 0
Last Month 18
Dependencies (3)
Dev Dependencies (8)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE