fuzzysort
fuzzysort copied to clipboard
spaces affect fuzzysort.single() score
If the search and target params equals but there are spaces in them than the single methods result won't be 0
fuzzysort.single('some string that contains my query.', 'some string that contains my query.'),
result score: -188.9
fuzzysort.single('somestringthatcontainsmyquery.', 'somestringthatcontainsmyquery.')
result score: -0