informer

1.0.1 • Public • Published

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...

Readme

Keywords

none

Package Sidebar

Install

npm i informer

Weekly Downloads

5

Version

1.0.1

License

MIT

Last publish

Collaborators

  • drasko.gomboc