# match-words

> Match the words in a string. Support for english, CJK and Cyrillic.

Latest version **1.0.0** (published 2016-12-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install match-words
pnpm add match-words
yarn add match-words
bun add match-words
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-12-22 |
| First published | 2015-09-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8 |
| Author | Jon Schlinkert |
| Maintainers | jonschlinkert |
| Keywords | count, detect, exec, find, match, regex, regexp, split, word, words |

## Links

- npm: https://www.npmjs.com/package/match-words
- Repository: https://github.com/jonschlinkert/match-words
- Issues: https://github.com/jonschlinkert/match-words/issues
- npm.io page: https://npm.io/package/match-words

## Dependencies (1)

- [word-regex](https://npm.io/package/word-regex.md) ^0.1.0

## Recent versions

- 1.0.0 (latest) — 2016-12-22
- 0.1.1 — 2016-12-22
- 0.1.0 — 2015-09-22

## README

# match-words [![NPM version](https://img.shields.io/npm/v/match-words.svg?style=flat)](https://www.npmjs.com/package/match-words) [![NPM monthly downloads](https://img.shields.io/npm/dm/match-words.svg?style=flat)](https://npmjs.org/package/match-words)  [![NPM total downloads](https://img.shields.io/npm/dt/match-words.svg?style=flat)](https://npmjs.org/package/match-words) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/match-words.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/match-words)

> Match the words in a string. Support for english, CJK and Cyrillic.

## Install

Install with [npm](https://www.npmjs.com/):

```sh
$ npm install --save match-words
```

## Usage

```js
var matchWords = require('word-regex');

matchWords('match words.');
//=> ['match', 'words']
matchWords('match words, again.');
//=> ['match', 'words', 'again']
```

## About

### Related projects

* [is-whitespace](https://www.npmjs.com/package/is-whitespace): Returns true if the value passed is all whitespace. | [homepage](https://github.com/jonschlinkert/is-whitespace "Returns true if the value passed is all whitespace.")
* [whitespace-regex](https://www.npmjs.com/package/whitespace-regex): Regular expression for matching the whitespace in a string. | [homepage](https://github.com/regexps/whitespace-regex "Regular expression for matching the whitespace in a string.")
* [word-regex](https://www.npmjs.com/package/word-regex): Regular expression for matching words in a string. Support for english, CJK and Cyrillic. | [homepage](https://github.com/regexps/word-regex "Regular expression for matching words in a string. Support for english, CJK and Cyrillic.")
* [wordcount](https://www.npmjs.com/package/wordcount): Count the words in a string. Support for english, CJK and Cyrillic. | [homepage](https://github.com/jonschlinkert/wordcount "Count the words in a string. Support for english, CJK and Cyrillic.")

### Contributing

Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).

### Building docs

_(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_

To generate the readme and API documentation with [verb](https://github.com/verbose/verb):

```sh
$ npm install -g verb verb-generate-readme && verb
```

### Running tests

Install dev dependencies:

```sh
$ npm install -d && npm test
```

### Author

**Jon Schlinkert**

* [github/jonschlinkert](https://github.com/jonschlinkert)
* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)

### License

Copyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).
Released under the [MIT license](https://github.com/jonschlinkert/match-words/blob/master/LICENSE).

***

_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.2.0, on December 22, 2016._

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