0.4.2 • Published 3 months ago

@dannyxcii/badger v0.4.2

Weekly downloads
-
License
GPL-3.0-only
Repository
github
Last release
3 months ago

Badger | JS Badge Generation Package

A package to easily generate badges for your Git repositories (like the ones above).

Installation

npm install --save-dev @dannyxcii/badger

Usage

To get started generating badges, add the required comment to the desired location in your projects README file. The necessary comment for each badge is listed below.

Badges

Jest Coverage

<!-- JS Coverage Badge -->
npx badger --jest ./path/to/coverage-final.json

Version

Accepts a valid package.json or composer.json filepath.

<!-- Version Badge -->
npx badger --version ./path/to/json

License

Accepts a valid package.json or composer.json filepath.

<!-- License Badge -->
npx badger --license ./path/to/json

PHPUnit Coverage

<!-- PHP Coverage Badge -->
npx badger --phpunit ./path/to/coverage.xml

Additional Options

By default, Badger attempts to update ./README.md - if your README file is located somewhere else you can pass the --readme flag along with any other flags:

npx badger --jest ./path/to/coverage --readme ./path/to/readme
0.4.2

3 months ago

0.4.1

6 months ago

0.4.0

6 months ago

0.3.0

6 months ago

0.2.17

6 months ago

0.2.16

6 months ago

0.2.15

6 months ago

0.2.14

6 months ago

0.2.13

6 months ago

0.2.12

6 months ago

0.2.11

6 months ago

0.2.10

6 months ago

0.2.9

6 months ago

0.2.8

6 months ago

0.2.7

6 months ago

0.2.6

6 months ago

0.2.5

6 months ago

0.2.4

6 months ago

0.2.3

6 months ago

0.2.2

6 months ago

0.2.1

6 months ago

0.2.0

6 months ago

0.1.9

6 months ago

0.1.8

6 months ago

0.1.7

6 months ago

0.1.6

6 months ago

0.1.5

6 months ago

0.1.4

6 months ago

0.1.3

6 months ago

0.1.2

6 months ago

0.1.1

6 months ago

0.1.0

6 months ago