Skip to content

💡 A simple NPM Package which returns random Inspirational Quotes. Get your daily quote and stay motivated! ✌️ 🌸

License

Notifications You must be signed in to change notification settings

piyush935/inspirational-quotes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inspirational Quotes

NPM VERSION GitHub license NPM MODULE npm collaborators Snyk Vulnerabilities for npm package version GitHub issues

A simple NPM Package which returns random Inspirational Quotes. It provides awesome quotes to display in your application. Get your daily quote and stay motivated!

GitHub code size in bytes npm GitHub last commit GitHub top language Maintenance

Click here to view this package on NPM registry. Check the homepage here.

Getting started

NPM

$ npm install --save inspirational-quotes

Installation

NPM INSTALL NODE JS inspirational-quotes

This is a Node.js module available through the npm registry.

Before installing, download and install Node.js.

Installation is done using the npm install command:

$ npm install inspirational-quotes

Usage

usage

  • getQuote() method returns an object containing text and author.
 {  
    "text":"My number one piece of advice is: you should learn how to program.",
    "author":"Mark Zuckerberg, founder of Facebook"
 }
  • getRandomQuote() method returns a random inspirational quote : You miss 100 percent of the shots you don’t take.
const Quote = require('inspirational-quotes');

console.log(Quote.getRandomQuote());

console.log(Quote.getQuote());

Examples

examples

To view the examples, clone the inspirational-quotes repo and install the dependencies:

$ git clone https://github.com/vinitshahdeo/inspirational-quotes.git
$ cd examples
$ npm install

Then run the demo.js:

$ node demo.js

Related Works

Quotter Twitter Follow

Checkout Quotter - A twitter bot which tweets random quotes with image and #hashtags!

I've made this using inspirational-quotes NPM module. I'll be more than happy to know if you build something using this module. Share your story @ [email protected]

GMAIL

Checkout this to view works by other developers who've used this module.

Want to contribute?

Open Source Love PRs Welcome

Please check issues here!

[ISSUE #4] : Add More Inspirational Quotes (Recommended for beginners)

License

GitHub license Twitter Follow GitHub followers

MIT © Vinit Shahdeo

Oh, Thanks!

Thank you for being here! You can find my other NPM Packages here.

Built with Love Vinit Shahdeo Vinit Shahdeo


   _____ _                _____                 _              _ 
  / ____| |              |_   _|               (_)            | |
 | (___ | |_ __ _ _   _    | |  _ __  ___ _ __  _ _ __ ___  __| |
  \___ \| __/ _` | | | |   | | | '_ \/ __| '_ \| | '__/ _ \/ _` |
  ____) | || (_| | |_| |  _| |_| | | \__ \ |_) | | | |  __/ (_| |
 |_____/ \__\__,_|\__, | |_____|_| |_|___/ .__/|_|_|  \___|\__,_|
                   __/ |                 | |                     
                  |___/                  |_|                     

Let's get connected if we share the same views! Invite me to connect on LinkedIn.

Facebook Instagram LinkedIn

One day your life will flash before your eyes. Make sure it is worth watching!


Stay Motivated Think Big Work Hard

About

💡 A simple NPM Package which returns random Inspirational Quotes. Get your daily quote and stay motivated! ✌️ 🌸

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%