v0.1.0
First release with Console
object concept.
What's:
console
's.log
,.info
,.warn
,.error
all compatible with Node' ones. Colors is used for.info
,.warn
,.error
. In next releases coloring will be controlled by option flags.console.dir
compatible 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 }
Console
constructor works like Node's one, by passing streams, streams are optional and defaults to process[ stdout, stderr ]
pair.Console
is UC, i.e. universal constructor and can be invoked as simple function, withoutnew
keyword.