1.0.2 • Published 8 years ago

fuzzy-string-matching v1.0.2

Weekly downloads
398
License
MIT
Repository
-
Last release
8 years ago

fuzzy-string-matching Build Status

Get the degree of resemblance between two strings

Install

$ npm install --save fuzzy-string-matching

Usage

const fsm = require('fuzzy-string-matching');

fsm('Abc', 'aBC'); // case sensitive = false
//=> 1

fsm('Abc', 'aBC', true); // case sensitive = true
//=> 0

fsm('abcdef', 'arcdet');
//=> 0.444444

Testing

$ npm test

License

MIT © EL AZZABI Ahmed

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago