0.1.4 • Published 6 years ago

string-matchingngrams v0.1.4

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

string-matchingngrams

NOTE: string-matchingngrams was renamed to @extra-string/matching-ngrams. NPM

Get matching n-grams between strings.

const matchingNgrams = require('string-matchingngrams');
// matchingNgrams(<string-1>, <string-2>, <n>)

matchingNgrams('worm', 'storm', 2);
// ['or', 'rm']
matchingNgrams('astronaut', 'astronomer', 3);
// ['ast', 'str', 'tro', 'ron']
matchingNgrams('coconut', 'cotton', 2);
// ['co', 'on']
0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago