Wondering what’s next for npm?Check out our public roadmap! »

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

    Keywords

    none

    Install

    npm i informer

    DownloadsWeekly Downloads

    10

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • avatar