1.0.8 • Published 2 years ago
@bonnietogamer/better-console v1.0.8
BetterConsole
This package is deprecated and has been moved to a new re-written version
A better Javascript console.
Installation
Install with npm:
$ npm install @bonnietogamer/better-console
Usage
When writing to the console this project will add the project name as a prefix to the console. By default both the prefix and the paramaters are colored.
require('@bonnietogamer/better-console');
console.log('test');
console.log('test', false);
Output:
Example 2:
require('@bonnietogamer/better-console');
console.log('log');
console.log('log', false);
console.error('error');
console.error('error', false);
console.info('info');
console.info('info', false);
console.warn('warn');
console.warn('warn', false);
Output:
About
Pull requests are always welcome. For bugs and feature requests, please create an issue.
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
$ npm install && npm test
License
Copyright © 2021, BonnieToGamer. Released under the MIT License.