# quotefind

> A module that gets quotes from a given string.

Latest version **0.1.0** (published 2016-08-27) · 0 weekly downloads

## Install

```sh
npm install quotefind
pnpm add quotefind
yarn add quotefind
bun add quotefind
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2016-08-27 |
| First published | 2016-08-27 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Marco Nocito |
| Maintainers | mnocito |
| Keywords | quote |

## Links

- npm: https://www.npmjs.com/package/quotefind
- Repository: https://github.com/mnocito/node-quotefind
- Homepage: https://github.com/mnocito/node-quotefind#readme
- Issues: https://github.com/mnocito/node-quotefind/issues
- npm.io page: https://npm.io/package/quotefind

## Recent versions

- 0.1.0 (latest) — 2016-08-27

## README

Quotefind
=========

A small module that gets a random sentence from a given text. If no sentence is found, it returns `null`.

## Installation

  npm install quotefind --save

## Usage

```javascript
  var quote = require('quotefind')
  
  // getting a sentence from a one-off block of text
  var oneOffTextSentence = quote.getSentenceFromText("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut enim ad minim veniam, consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.")
  
  // getting a sentence from a set block of text
  quote.setText("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut enim ad minim veniam, consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.")
  var sentenceFromSetText = quote.getSentence()
  console.log(oneOffTextSentence, sentenceFromSetText); 
 ```

## Tests

  npm test

## Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style.
Add unit tests for any new or changed functionality. Lint and test your code.

## Release History

* 0.1.0 Initial release

---
_Source: https://npm.io/package/quotefind · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
