Skip to content

Latest commit

 

History

History
74 lines (44 loc) · 5.57 KB

README.md

File metadata and controls

74 lines (44 loc) · 5.57 KB

GitHub license NPM MODULE NPM MODULE NPM MODULE NPM MODULE NPM MODULE NPM MODULE

A simple NPM package to get popular movie quotes.

Getting started

NPM

$ npm i popular-movie-quotes --save

Installation

NPM INSTALL NODE JS NODE JS

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 i popular-movie-quotes --save

Usage

usage

  • getAll() method returns an object containing quote and movie.
{
    "quote": "Frankly, my dear, I don't give a damn.",
    "movie": "Gone with the Wind"
}
  • getRandomQuote() method returns a random movie quote : I used to think that my life was a tragedy. But now I realize, it’s a comedy.
const movieQuote = require("../index");

console.log(movieQuote.getAll());

console.log(movieQuote.getRandomQoutes());

Want to contribute?

Open Source Love forthebadge

Please check issues here!

License

GitHub license

Let's get connected

Twitter Follow GitHub followers Facebook Instagram LinkedIn

Special Thanks

Karan Bhatt Facebook Instagram GitHub followers

Rishabh Kanojia Facebook Instagram GitHub followers


forthebadge forthebadge forthebadge forthebadge