you can do it!
- install
motivations
and save it to yourpackage.json
:
npm install motivations --save
-
require it in your application
const motivations = require('motivations');
-
now you have a variable
motivations
that points to an array of encouraging statements!
console.log(motivations[0]); // prints "don't worry. no one actually knows what they're doing."