A simple NPM package to get popular movie quotes.
$ npm i popular-movie-quotes --save
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
- 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());
Please check issues here!