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