0.2.0 • Published 8 years ago

js-console-color v0.2.0

Weekly downloads
6
License
Apache
Repository
github
Last release
8 years ago

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"]
});
0.2.0

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago