Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/afeiship/next-match-words
Get matched english words.
https://github.com/afeiship/next-match-words
english match next words
Last synced: 22 days ago
JSON representation
Get matched english words.
- Host: GitHub
- URL: https://github.com/afeiship/next-match-words
- Owner: afeiship
- License: mit
- Created: 2020-08-05T05:13:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-20T09:18:47.000Z (about 4 years ago)
- Last Synced: 2023-11-24T03:42:16.174Z (about 1 year ago)
- Topics: english, match, next, words
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# next-match-words
> Get matched english words.[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]## installation
```bash
npm install -S @jswork/next-match-words
```## usage
```js
import '@jswork/next-match-words';const words = "How're you, i'm fine. And you?";
const res = nx.matchWords(words);// ["How're", 'you', "i'm", 'fine', 'And', 'you']
```## resources
- https://github.com/regexhq/word-regex## license
Code released under [the MIT license](https://github.com/afeiship/next-match-words/blob/master/LICENSE.txt).[version-image]: https://img.shields.io/npm/v/@jswork/next-match-words
[version-url]: https://npmjs.org/package/@jswork/next-match-words[license-image]: https://img.shields.io/npm/l/@jswork/next-match-words
[license-url]: https://github.com/afeiship/next-match-words/blob/master/LICENSE.txt[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-match-words
[size-url]: https://github.com/afeiship/next-match-words/blob/master/dist/next-match-words.min.js[download-image]: https://img.shields.io/npm/dm/@jswork/next-match-words
[download-url]: https://www.npmjs.com/package/@jswork/next-match-words