Skip to content

robincunningham2/BadgeJS

Repository files navigation

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