Nimble Pixie Merchant

    js-console-color

    0.2.0 • Public • Published

    js-console-color

    javascript console with colors (sensible defaults,overridable)

    Usage

    import {debug, log, info, warn, error} from "js-console-color";
    debug("debug", "message");
    log("log", "message");
    info("info", "message");
    warn("warn", "message");
    error("error", "message");

    Configuration

    js-console-color allows configuration of the console methods using the chalk library.

    import jsConsoleColorEnv from "js-console-color";
    jsConsoleColorEnv({
      info: ["purple", "bold"],
      warn: ["red", "italic"]
    });

    Install

    npm i js-console-color

    DownloadsWeekly Downloads

    0

    Version

    0.2.0

    License

    Apache

    Last publish

    Collaborators

    • btakita