1.0.8 • Published 2 years ago

@bonnietogamer/better-console v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

BetterConsole NPM version NPM monthly downloads NPM total downloads

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 1

Example 2

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:

Example 3

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.


1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago