UNPKG

closewords

Version:

A library for finding the most similar word from a list of words, supporting Japanese (including kanji). / 最も似た単語を単語群から検索する日本語(漢字含む)対応のライブラリ

88 lines (87 loc) 2.08 kB
{ "name": "closewords", "version": "3.1.1", "description": "A library for finding the most similar word from a list of words, supporting Japanese (including kanji). / 最も似た単語を単語群から検索する日本語(漢字含む)対応のライブラリ", "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.cts", "exports": { ".": { "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } } }, "files": [ "dist", "README.md", "README-ja.md", "CHANGELOG.md", "CHANGELOG-ja.md", "LICENSE" ], "scripts": { "build": "tsdown && node scripts/copy-dict.cjs", "pretest": "npm run build", "test": "jest --config jest.config.js", "test:build": "jest --config jest.build.config.js", "typecheck": "tsc --noEmit" }, "repository": { "type": "git", "url": "git+https://github.com/otnc/closewords.git" }, "keywords": [ "closeword", "close", "類似", "word", "語", "単語", "near", "search", "検索", "string", "文字列", "jp", "japan", "japanese", "日本語", "morphological analysis", "形態素解析", "levenshtein", "eval", "evaluate", "評価" ], "author": "otoneko.", "license": "ISC", "bugs": { "url": "https://github.com/otnc/closewords/issues" }, "homepage": "https://github.com/otnc/closewords#readme", "dependencies": { "fast-levenshtein": "^3.0.0", "jaro-winkler": "^0.2.8", "kuromoji": "^0.1.2", "wanakana": "^5.3.1" }, "devDependencies": { "@types/fast-levenshtein": "^0.0.4", "@types/jaro-winkler": "^0.2.4", "@types/jest": "^30.0.0", "@types/kuromoji": "^0.1.3", "@types/node": "^25.9.1", "fs-extra": "^11.3.5", "jest": "^30.4.2", "ts-jest": "^29.4.10", "tsdown": "0.21.10", "tsx": "4.22.3", "typescript": "6.0.3" } }