Console
CLI UI tools for Node.
Usage
const console = require('@frctl/console')({
/* config here */
});
console.log('Plain log output');
console.success('The operation was successful');
console.warn('You might want to consider this');
console.error(new Error('An error with a stack'));
console.debug('This will only show if the debug config setting is true');
console.html('<button>this is a button</button> <!-- with a comment -->');
Installation
npm i @frctl/console --save
Requirements
@frctl/console
requires Node >= v6.0