ksdc
Version:
Measure how similar two strings are using the Sørensen–Dice Coefficient
104 lines (103 loc) • 2.13 kB
JSON
{
"name": "ksdc",
"version": "1.0.4",
"description": "Measure how similar two strings are using the Sørensen–Dice Coefficient",
"license": "MIT",
"type": "module",
"main": "./index.cjs",
"module": "./index.js",
"exports": {
".": {
"import": "./index.js",
"require": "./index.cjs",
"default": "./index.js"
}
},
"sideEffects": false,
"repository": {
"type": "git",
"url": "git+https://github.com/macarie/ksdc.git"
},
"bugs": {
"url": "https://github.com/macarie/ksdc/issues"
},
"homepage": "https://github.com/macarie/ksdc#readme",
"author": {
"name": "Raul Macarie",
"email": "raul@macarie.me",
"url": "https://macarie.me"
},
"engines": {
"node": ">=12"
},
"files": [
"index.js",
"index.cjs",
"index.d.ts"
],
"keywords": [
"closest",
"coefficient",
"compare",
"comparison",
"Dice",
"difference",
"index",
"Levenshtein",
"match",
"matching",
"measure",
"nearest",
"similar",
"similarity",
"Soerenson",
"Sørensen–Dice",
"Sorensen",
"Sorenson",
"Sörenson",
"string",
"strings"
],
"scripts": {
"compile:cjs": "esbuild --bundle --format=cjs --target=esnext --outfile=index.cjs index.js",
"compile": "run-p -s compile:*",
"lint": "xo",
"test": "c8 ava --verbose",
"coverage": "c8 report --reporter=text-lcov | codecov --pipe --disable=gcov"
},
"devDependencies": {
"ava": "^3.11.1",
"c8": "^7.3.0",
"codecov": "^3.7.2",
"esbuild": "^0.6.18",
"npm-run-all": "^4.1.5",
"xo": "^0.32.1"
},
"xo": {
"prettier": true,
"rules": {
"unicorn/import-index": [
"off"
],
"import/extensions": [
"off"
],
"import/no-useless-path-segments": [
"off"
],
"unicorn/no-fn-reference-in-iterator": [
"off"
],
"unicorn/no-reduce": [
"off"
]
}
},
"prettier": {
"semi": false,
"bracketSpacing": true,
"useTabs": false,
"endOfLine": "lf",
"trailingComma": "es5"
}
}