UNPKG

@aiquants/fuzzy-search

Version:

Advanced fuzzy search library with Levenshtein distance, n-gram indexing, and Web Worker support

103 lines (102 loc) 2.86 kB
{ "name": "@aiquants/fuzzy-search", "version": "1.2.0", "description": "Advanced fuzzy search library with Levenshtein distance, n-gram indexing, and Web Worker support", "sideEffects": false, "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" }, "./react": { "types": "./dist/react.d.ts", "import": "./dist/react.mjs", "require": "./dist/react.js" }, "./worker/indexWorker": { "import": "./dist/worker/indexWorker.mjs" }, "./worker/levenshteinWorker": { "import": "./dist/worker/levenshteinWorker.mjs" } }, "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "build": "tsup", "build:watch": "tsup --watch", "dev": "tsup --watch", "watch": "tsup --watch", "type-check": "tsc --noEmit", "typecheck": "npm run type-check", "clean": "rimraf dist", "prepublishOnly": "npm run clean && npm run typecheck && npm run test --if-present && npm run build", "publish:patch": "npm version patch && npm publish", "publish:minor": "npm version minor && npm publish", "publish:major": "npm version major && npm publish", "lint": "biome lint src/", "lint:fix": "biome lint --write src/", "format": "biome format src/", "format:fix": "biome format --write src/", "check": "biome check src/", "check:fix": "biome check --write src/", "license-check": "pnpm dlx license-checker --production --onlyAllow \"MIT;Apache-2.0;BSD-2-Clause;BSD-3-Clause;ISC;Unlicense\"", "license-check:json": "pnpm dlx license-checker --production --onlyAllow \"MIT;Apache-2.0;BSD-2-Clause;BSD-3-Clause;ISC;Unlicense\" --json", "test": "vitest run --passWithNoTests", "test:coverage": "vitest run --coverage --passWithNoTests", "prepare": "pnpm run build" }, "keywords": [ "fuzzy-search", "levenshtein-distance", "search", "typescript", "react", "web-worker", "n-gram", "indexing" ], "author": { "name": "fehde-k", "url": "https://x.com/fehdek" }, "license": "MIT", "devDependencies": { "@biomejs/biome": "^2.3.7", "@types/node": "^22.19.1", "@types/react": "^18.3.27", "@types/react-dom": "^18.3.7", "react": "^18.3.1", "react-dom": "^18.3.1", "rimraf": "^6.1.2", "tsup": "^8.5.1", "typescript": "^5.9.3", "vitest": "^3.2.4" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "peerDependenciesMeta": { "react": { "optional": true }, "react-dom": { "optional": true } }, "engines": { "node": ">=16.0.0", "pnpm": ">=8.0.0" }, "publishConfig": { "access": "public" } }