userbar

Simple lib to create classic Userbars

npm install userbar
24 downloads in the last month

Example

Install

npm install userbar

Usage

var userbar = require('userbar');

var options = {
    ltext: 'Left Text',
    rtext: 'Right Text',
    ltextxoffset: 0,      // Left text X offset
    rtextxoffset: 40,     // Right text X offset
    path: 'public/images/out.png'}; // Output image path

userbar.createUserbar(options);

After this out.png will be created in your`s project root folder.

npm loves you