An NPM npm package to generate random compliments, spread positivity and happiness! Click here to view this package on NPM registry. Check the homepage down here.
This is a Node.js module available through the npm registry.
Before installing, download and install Node.js.
Installation of package is done using the npm install command:
$ npm install --save cheer-me-up
- Requiring the module
var myCompliment = require('cheer-me-up');
- getCompliment() method returns a random Compliment to cheer you up!
var compliment = myCompliment.getCompliment();
console.log(compliment);