Module: badge-maker

Methods

(inner) makeBadge(format) → {string}

Create a badge

Parameters:
Name Type Description
format object

Object specifying badge data

Properties
Name Type Description
label string

(Optional) Badge label (e.g: 'build')

message string

(Required) Badge message (e.g: 'passing')

labelColor string

(Optional) Label color

color string

(Optional) Message color

style string

(Optional) Visual style e.g: 'flat'

Source:
See:
Returns:

Badge in SVG format

Type
string