[READ-ONLY] Mirror of https://github.com/FoxxMD/string-sameness. Compare the sameness of two strings foxxmd.github.io/string-sameness/
compare cosine-similarity dice-coefficient levenshtein-distance sameness string text typescript
0

Configure Feed

Select the types of activity you want to include in your feed.

chore: BREAKING switch to ESM only

FoxxMD (Feb 15, 2024, 10:42 AM EST) b85f1813 3d954e31

+8 -11
+7 -10
package.json
··· 1 1 { 2 2 "name": "@foxxmd/string-sameness", 3 - "version": "0.3.0", 3 + "type": "module", 4 + "version": "0.4.0", 4 5 "description": "determine how closely the same two strings are", 5 6 "repository": "https://github.com/foxxmd/string-sameness", 6 7 "author": "FoxxMD", ··· 10 11 "node": ">=18.0.0", 11 12 "npm": ">=9.3.0" 12 13 }, 13 - "main": "./dist/commonjs/index.js", 14 - "types": "./dist/commonjs/index.d.ts", 15 14 "files": [ 16 15 "dist" 17 16 ], ··· 27 26 "import": { 28 27 "types": "./dist/esm/index.d.ts", 29 28 "default": "./dist/esm/index.js" 30 - }, 31 - "require": { 32 - "types": "./dist/commonjs/index.d.ts", 33 - "default": "./dist/commonjs/index.js" 34 29 } 35 30 } 36 31 }, ··· 56 51 "exports": { 57 52 "./package.json": "./package.json", 58 53 ".": "./src/index.js" 59 - } 60 - }, 61 - "type": "module" 54 + }, 55 + "dialects": [ 56 + "esm" 57 + ] 58 + } 62 59 }
+1 -1
tsconfig.json
··· 1 1 { 2 2 "compilerOptions": { 3 - "module": "nodenext", 3 + "module": "ESNext", 4 4 "moduleResolution": "nodenext", 5 5 "target": "es2022", 6 6 "declaration": true,