@inspired-beings/log

Tiny colourful NodeJS logger.

Stats

StarsIssuesVersionUpdatedCreatedSize
@inspired-beings/log
2.0.0a year ago4 years agoMinified + gzip package size for @inspired-beings/log in KB

Readme

@inspired-beings/log

The MIT License npm version Build Status Code Coverage

Tiny but colorful Node.js logger.

Getting Started

npm i @inspired-beings/log

Example

import log from '@inspired-beings/log';

log("The number %s is greater than %s.", 1.123456789, "zero");
log.err("The number %s is greater than %s.", 1.123456789, "zero");
log.info("The number %s is greater than %s.", 1.123456789, "zero");
log.warn("The number %s is greater than %s.", 1.123456789, "zero");

will output:

Output example of @inspired-beings/log

And:

log.clear();

will clear the output.


If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.