1.0.0 • Published 3 years ago
epic-quotes v1.0.0
NPM package to fetch inspiring quotes from 'Bhagawad Gita' : Holy scripture which includes dialogues between Arjuna and Lord Krishna.
View on NPM Registry
Installation
$ npm i --save epic-quotes
Parameters
Note: all parameters are 'case in-sensitive' ||Type|Parameters (categories)| |---|---|---| |1.| string |wisdom| |2.| string |truth| |3.| string |love| |4.| string |peaceHappiness| |5.| string |death| |6.| string |lifeDecisions|
Methods | |
---|---|
1. | getQuote( 'category' ) |
Usage
// including the package
const gita = require('epic-quotes');
const getMessage = async() => {
var messageFetched = await gita.getQuote('wisdom');
//fetching quote
console.log(messageFetched);
}
getMessage();
:sunflower: STAY MOTIVATED !
1.0.0
3 years ago