Colorised print
spray-print is a library that makes your console prints more vibrant using chalk.
This is a breif overview of the documentation. For more information go to https://aceius.gitbook.io
npm install spray-print
First, clone the project to disk with the GitHub CLI, GitHub Desktop, or however you get your git repos. You will need to do this if you want to help develop or build from source.
In order to commit to the project or build the code, you will need the folowing installed:
Then, install the rest of the dependencies with yarn.
npm install
# OR
yarn install
After cloning to disk, make your changes and then test with node test.js
.
const print = require('print');
There are several types of printouts, and a custom one too:
print.println('Message');
print.warn('Warning');
print.error('Error');
print.success(':D');
print.custom('title','message');
You can append c to these function names to get an alternate style.
spray-print is licenced under the GNU GPL v3.