Skip to content

elazzabi/fuzzy-string-matching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Get the degree of resemblance between two strings

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published