0.0.2 • Published 10 years ago
packent-utils v0.0.2
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
0.0.2
10 years ago