Skip to content

βœ’οΈ Attempt to create a simple NPM package, to fetch inspiring quotes from 'Bhagawad Gita' : Holy scripture which includes dialogues between πŸͺ Arjuna and Lord Krishna. 🌎

WaderManasi/epic-quotes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

25 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌻 Attempt to create an NPM package to fetch quotes based on the various categories , explained in 'Bhagawad Gita' : Holy scripture which includes dialogues between Arjuna and Lord Krishna.

epic-quotes

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() => {

// storing fetched data
var messageFetched = await gita.getQuote('wisdom');

console.log(messageFetched);
}  
getMessage();

🌼 STAY MOTIVATED ! 🌼

About

βœ’οΈ Attempt to create a simple NPM package, to fetch inspiring quotes from 'Bhagawad Gita' : Holy scripture which includes dialogues between πŸͺ Arjuna and Lord Krishna. 🌎

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published