1.0.1 • Published 5 years ago

movie-quotes v1.0.1

Weekly downloads
31
License
MIT
Repository
github
Last release
5 years ago

movie-quotes Build Status

Get popular movie quotes

npm.io

The name list is just a JSON file and can be used wherever.

Not accepting PRs for additional quotes.

Install

$ npm install --save movie-quotes

Usage

const movieQuotes = require('movie-quotes');

movieQuotes.random();
//=> 'Max'

API

.all

Type: array

Top 100 best movie quotes according AFI.

.random()

Type: function

Random movie quote.

CLI

$ npm install --global movie-quotes
$ movie-quotes --help

  Examples
    $ movie-quotes
    "Show me the money!" Jerry Maguire

    $ movie-quotes --all
	"Frankly, my dear, I don't give a damn." Gone with the Wind
    "I'm gonna make him an offer he can't refuse." The Godfather
    ...

  Options
    --all   Get all quotes instead of a random quote

Related

License

MIT © Lucas Vilaboim