Giter Site home page Giter Site logo

gilteixeira / inspirational-quotes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vinitshahdeo/inspirational-quotes

0.0 1.0 0.0 80 KB

:bulb: A simple NPM Package which returns random Inspirational Quotes. Get your daily quote and stay motivated!

Home Page: https://www.npmjs.com/package/inspirational-quotes

License: MIT License

JavaScript 100.00%

inspirational-quotes's Introduction

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

Want to contribute?

Open Source Love

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

inspirational-quotes's People

Contributors

cedarctic avatar gilteixeira avatar vinitshahdeo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.