chalk-printer

NodeJS library to print colored message in the console.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
chalk-printer
501.1.27 years ago7 years agoMinified + gzip package size for chalk-printer in KB

Readme


NodeJS library to print colored message in the console.

Installation

npm install chalk-printer --save

Usage

const print = require('chalk-printer')

print.ok('hello world')
print.warn('hello world')
print.error('hello world')
print.trace('hello world')
print.log('hello world')

Why?

I created this library because I was using that same utility over and over, and of course I ended up with different version of the same file. Now, instead of copying the same file in new project, I can add as a dependency. That way, I get the benefit of sharing it with the community, get feedback and I can upgrade it keeping my projects in sync.

Test

Not yet.