This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@bonnietogamer/better-console

1.0.8 • Public • Published

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

Contributing

Pull requests are always welcome. For bugs and feature requests, please create an issue.

Running Tests

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.


Readme

Keywords

Package Sidebar

Install

npm i @bonnietogamer/better-console

Weekly Downloads

0

Version

1.0.8

License

MIT

Unpacked Size

6.68 kB

Total Files

4

Last publish

Collaborators

  • bonnietogamer