Conshow
Introduction
A util help to output a log that can be updated, support styles such as table, progress, tree .etc
Install
npm install termialog --save-dev
Quick Start
// index.js
const conshow = require('conshow');
conshow.out('test');
// output
test
Usage
API
out(String, id)
print a string to stdout without '\n'.
conshow.out('test');
test1
outln(String, id)
print a string to stdout without '\n'.
conshow.outln('test');
test
1
### Directives
1
@underline() / @u()
conshow.out('@underline(test)');
conshow.out('@u(test)');
test1
@inverse() / @i()
conshow.out('@underline(test)');
conshow.out('@u(test)');
test1
@hide() / @h()
conshow.out('@hide(test)');
conshow.out('@h(test)');
1
@f_red() / @f_r()
conshow.out('@f_red(test)');
conshow.out('@f(test)');
test1
LICENSE
MIT