UNPKG

kanji-inspector

Version:

A TypeScript library that provides Unihan data as type-safe constants for Kanji and CJK ideographs.

99 lines (98 loc) 2.51 kB
{ "name": "kanji-inspector", "version": "0.2.20", "main": "./dist/src/index.js", "module": "./dist/src/index.js", "types": "./dist/src/index.d.ts", "type": "module", "description": "A TypeScript library that provides Unihan data as type-safe constants for Kanji and CJK ideographs.", "repository": { "type": "git", "url": "https://github.com/ykhirao/kanji-inspector.git" }, "homepage": "https://github.com/ykhirao/kanji-inspector#readme", "bugs": { "url": "https://github.com/ykhirao/kanji-inspector/issues" }, "author": "yk", "scripts": { "build": "tsc && cp -r src/db dist/db/", "check": "tsc --noEmit", "db:gen": "tsx scripts/createDb.ts", "deploy": "npm run build && npm publish --access public", "download": "tsx scripts/download.ts", "gen": "tsx scripts/gen.ts", "local:test": "npm run build && npm pack && npx tsx test-package.ts", "patch": "npm version patch", "setup:clean": "rm -rf data/json/* data/ts/* dist/* db/* && npm run setup", "setup": "npm run download && npm run gen && npm run db:gen && npm run build", "test": "tsx tests/run.ts" }, "dependencies": { "sqlite3": "^5.1.7" }, "devDependencies": { "@types/node": "^22.15.21", "@types/pluralize": "^0.0.33", "@types/sqlite3": "^3.1.11", "@types/unzipper": "^0.10.11", "esbuild": "^0.25.4", "pluralize": "^8.0.0", "tsx": "^4.19.4", "typescript": "^5.4.5", "unzipper": "^0.12.3" }, "files": [ "dist" ], "license": "MIT", "keywords": [ "kanji", "kanji-dictionary", "kanji-database", "kanji-metadata", "kanji-info", "kanji-details", "kanji-lookup", "kanji-search", "kanji-stroke-count", "kanji-strokes", "kanji-radical", "kanji-reading", "kanji-variant", "kanji-structure", "kanji-unicode", "kanji-codepoint", "kanji-typescript", "kanji-sqlite", "kanji-json", "kanji-api", "unicode-kanji", "unicode-cjk", "unicode-character", "unicode-database", "cjk", "cjk-character", "cjk-unihan", "unihan", "ideograph", "chinese-character", "japanese-character", "korean-character", "hanzi", "hanja", "漢字", "漢字データベース", "漢字辞書", "日本語", "中国語", "韓国語" ], "exports": { ".": { "import": "./dist/src/index.js", "require": "./dist/src/index.js", "types": "./dist/src/index.d.ts" } } }