packent-utils
v0.0.2
Published
Chainable cli libary for formatting log messages
Downloads
5
Readme
packent utils
Chainable cli libary for formatting log messages. Heavely inspired by tj's component/utils.js
Installation
$ npm i --save packent-utils
Api
- utils#title( type, msg )
- utils#section( type, msg )
- utils#log( type, msg, [color], [style] )
- utils#fatal()
- utils#warn( type, msg )
- utils#error( msg )
- utils#bytes()
Each of them are very similar in their function, but there are some formatting differences like spacing, weigth or color.
Take a look at the source to learn more for now. More docs soon.
License
Mit