Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 382 Bytes

File metadata and controls

23 lines (17 loc) · 382 Bytes

BadgeJS

A JavaScript library for creating (status) badges.

BadgeJS

// JavaScript example from above
const Badge = require('badgejs');

let badge = Badge.from({
    label: 'badge',
    text: 'js',
    color: Badge.color('orange')
});

badge.toFile('badge.svg');

Installation

npm install badgejs