informer

informer node.js library

npm install informer
1 downloads in the last day
11 downloads in the last week
28 downloads in the last month

informer

informer - nodejs library

Install

$ npm install informer

Usage

var informer = require("informer");

Set title (default is "[informer]")

informer.title("new title");

Set title color (default is "green")

informer.titleColor("cyan");

Output methods

informer.error("Some error text") // outputs red text
informer.info("Some info text") // outputs blue text
informer.loading("Some loading text") // outputs grey text
informer.success("Some success text") // outputs green text
informer.warning("Some warning text") // outputs yellow text

Colors & Styles

Available colors and styles

  • bold
  • italic
  • underline
  • inverse
  • yellow
  • cyan
  • white
  • magenta
  • green
  • red
  • grey
  • blue
  • rainbow
  • zebra

Development

Install dependencies

$ make install

Run tests

$ make test

License

(The MIT License) see LICENSE file for details...

npm loves you