Get the degree of resemblance between two strings
$ npm install --save fuzzy-string-matching
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
$ npm test
MIT © EL AZZABI Ahmed