packent-utils

0.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i packent-utils

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • queckezz