@nlptools/distance 0.0.0 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -113,7 +113,6 @@ console.log(distance.fastest_levenshtein("fast", "faster")); // 2
|
|
|
113
113
|
The package automatically selects the fastest implementation available:
|
|
114
114
|
|
|
115
115
|
- **WebAssembly algorithms**: 10-100x faster than pure JavaScript
|
|
116
|
-
- **JavaScript fallbacks**: Ensure compatibility across all environments
|
|
117
116
|
- **Auto-detection**: Seamlessly switches between WASM and JS implementations
|
|
118
117
|
|
|
119
118
|
## References
|
|
@@ -125,4 +124,4 @@ This package incorporates and builds upon the following excellent open source pr
|
|
|
125
124
|
|
|
126
125
|
## License
|
|
127
126
|
|
|
128
|
-
- [MIT](LICENSE) © [Demo Macro](https://imst.xyz/)
|
|
127
|
+
- [MIT](../../LICENSE) © [Demo Macro](https://imst.xyz/)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nlptools/distance",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "Complete string distance and similarity algorithms package with WebAssembly and JavaScript implementations",
|
|
5
5
|
"main": "dist/index.mjs",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"homepage": "https://github.com/DemoMacro/nlptools#readme",
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"fastest-levenshtein": "1.0.16",
|
|
41
|
-
"@nlptools/distance-wasm": "0.0.
|
|
41
|
+
"@nlptools/distance-wasm": "0.0.2"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"dev": "pnpm unbuild --stub"
|