@robinblomberg/debug
v0.3.0
Published
Simple `console` alternative that adds an icon and a color to your terminal messages.
Downloads
2
Readme
Debug
Simple console
alternative that adds an icon and a color to your terminal messages.
Installation
npm install @robinblomberg/debug
Usage
debug('Debug');
// 'Debug'
debug.error('Error');
// '✗ Error'
debug.info('Info');
// '• Info'
debug.success('Success');
// '✓ Success'
debug.warn('Warn');
// '⚠ Warn'