consolebarrc

0.0.7 • Public • Published

consolebarrc

init

const bar = new (require('consolebarrc')).base()

add line / bar

bar.addLine({
    'bar'   : 'bar name',
    'id'    : 'id',
    'title' : 'bar title',
    'color' : 'bar color'
    }
);

update

bar.update({
    'name'   : 'bar name',
    'update' : {
        'id' : size // integer
    }
});

draw

bar.draw('bar name');

Readme

Keywords

none

Package Sidebar

Install

npm i consolebarrc

Weekly Downloads

0

Version

0.0.7

License

GPL-3.0-or-later

Unpacked Size

5.21 kB

Total Files

4

Last publish

Collaborators

  • soldy