v0.1.0
First release with Console object concept.
What's:
console's.log,.info,.warn,.errorall compatible with Node' ones. Colors is used for.info,.warn,.error. In next releases coloring will be controlled by option flags.console.dircompatible with Node's one. It's also supports extra flags, like:
console.dir(object, 5);
// where number 5 is `depth` → { depth: 5 }
console.dir(object, 'showHidden', 1, 'colors');
// for turning hidden attributes display, with depth = 1 and colors enabled
// → { showHidden: true, depth: 1, colors: true }Consoleconstructor works like Node's one, by passing streams, streams are optional and defaults to process[ stdout, stderr ]pair.Consoleis UC, i.e. universal constructor and can be invoked as simple function, withoutnewkeyword.