JSPM

movie-quotes

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q44418F
  • License MIT

Get popular movie quotes

Package Exports

  • movie-quotes

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (movie-quotes) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

movie-quotes Build Status

Get popular movie quotes

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

License

MIT © Lucas Vilaboim