JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 25073
  • Score
    100M100P100Q172880F
  • License BSD

A better console for Node.js

Package Exports

  • better-console

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (better-console) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

better-console

A better console for Node.js

better-console is a drop-in replacement for node default console which gives you colors and more methods in console.

How to use it

console = require('better-console');

console.log("This is a log information");
console.warn("Warning!");
console.info("Information");
console.table([ [1,2], [3,4] ]);
console.time("Timer");
console.timeEnd("Timer");
console.dir(myObject);

TODOs

  • Use Unicode icons to mimic browser console icons in OSX
  • console.table