NAVR: Scalling prototype tool for console logging in JavaScript.
NAVR offers an easy-to-use tool to log in console more easily, permitting developers creating nice loggers for their applications.
Installation
The installation is prompted by the following command:
$ npm install navr
Usage
This is very easy to use, so we will explain it with one example:
const navr = require('navr')
navr.log({
prefixColor: 'blue',
prefix: '[ INFO ]',
withTime: true,
description: 'This is an example.'
})
Options:
prefixColor: it can be of several colors, this determines the color of the prefix. STRING prefix: it is the prefix that will be shown on console. STRING withTime: determines if the logger shows day and hour or not. BOOLEAN description: the description in the logger. STRING
Contributing
You can contribute in the Github Repository.
If you have any issue feel free to open an issue here or contact Aidak#0001