conshow
v0.0.1
Published
A util help to output a log that can be updated, support styles such as table, progress .etc
Downloads
4
Maintainers
Readme
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');
outln(String, id)
print a string to stdout without '\n'.
conshow.outln('test');
@underline() / @u()
conshow.out('@underline(test)');
conshow.out('@u(test)');
@inverse() / @i()
conshow.out('@underline(test)');
conshow.out('@u(test)');
@hide() / @h()
conshow.out('@hide(test)');
conshow.out('@h(test)');
@f_red() / @f_r()
conshow.out('@f_red(test)');
conshow.out('@f(test)');
LICENSE
MIT