Getting start with pull-quoter and quote extraction in Node.

The pull-quoter library allows you to extract interesting quotes from a text.

Installation

Easy with npm:

npm install --save pull-quoter

Usage

Load the module and simply use it as a function.

const pullquoter = require('pullquoter');

const text = "Something I notice every time I get really [...] higher quality sleep every night.";

console.log(pullquoter(text)); // [ 'It’s not just our thinking that’s affected by being tired.' ]

pull-quoter will return an Array of Strings.