fast-string-similarity
v0.0.1
Published
Native node module for string similarity
Downloads
18
Maintainers
Readme
Fast String Similarity
3x faster that JS implementation.
Building
To compile the extension for the first time, run
$ npm i
$ npm run configure
$ npm run build
All subsequent builds only need npm run build
You can confirm everything built correctly by running the test suite.
Working With the Extension Locally
After building:
$ node
> var fsc = require('fast-string-similarity')
undefined
> fsc.computeStringSimilarity("the quick brown fox", "the quick not brown fox")
0.8484848484848485
To run tests:
$ npm test