https://github.com/rmariuzzo/chalk-printer
NodeJS library to print colored message in the console.
https://github.com/rmariuzzo/chalk-printer
Last synced: over 1 year ago
JSON representation
NodeJS library to print colored message in the console.
- Host: GitHub
- URL: https://github.com/rmariuzzo/chalk-printer
- Owner: rmariuzzo
- License: mit
- Created: 2017-04-01T20:29:47.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-06T15:41:23.000Z (almost 9 years ago)
- Last Synced: 2025-03-13T15:57:38.763Z (over 1 year ago)
- Language: JavaScript
- Size: 251 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
NodeJS library to print colored message in the console.
## Installation
```shell
npm install chalk-printer --save
```
### Usage
```js
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.