Finds degree of similarity between two strings, based on Dice's Coefficient, which is mostly better than Levenshtein distance.
2.53k
stars
128
forks
source link
Is it possible to import it in a ES6 module ? (front-side) #47
Closed
nathanschwarz closed 4 years ago
I'm trying to use the package to implement a fuzzy search in a React component. I don't want to use UMD.
I'm trying to import the module like so:
import stringSimilarity from 'stringSimilarity'
Node throw:
Cannot find module 'stringSimilarity'.
Is it possible with this package ?