0.0.1 • Published 7 years ago

conshow v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

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