UNPKG

@committed/trie-search

Version:

A trie implementation that maps keys to objects for rapid retrieval by phrases. Most common use will be for typeahead searches.

93 lines (92 loc) 2.17 kB
{ "name": "@committed/trie-search", "license": "MIT", "private": false, "description": "A trie implementation that maps keys to objects for rapid retrieval by phrases. Most common use will be for typeahead searches.", "version": "0.1.0", "main": "dist/index.js", "url": "https://github.com/commitd/trie-search", "homepage": "https://github.com/commitd/trie-search", "email": "contact@committed.io", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "engines": { "node": ">=10" }, "scripts": { "start": "tsdx watch", "build": "tsdx build", "test": "tsdx test", "lint": "tsdx lint", "prepare": "tsdx build", "size": "size-limit", "analyze": "size-limit --why", "format": "prettier --ignore-unknown --write .", "format:check": "prettier --ignore-unknown --check .", "performance-test": "node performance.js" }, "repository": { "type": "git", "url": "https://github.com/commitd/trie-search.git" }, "files": [ "dist", "src" ], "keywords": [ "trie", "search", "typeahead", "type", "ahead", "hash", "map", "hashtable" ], "dependencies": { "hasharray": "^1.1.1", "lodash.get": "^4.4.2" }, "devDependencies": { "@size-limit/preset-small-lib": "^4.9.2", "@types/lodash.get": "^4.4.6", "assert": "^2.0.0", "husky": "^4.3.8", "jest-sonar-reporter": "^2.0.0", "prettier": "^2.2.1", "size-limit": "^4.9.2", "tsdx": "^0.14.1", "tslib": "^2.1.0", "typescript": "^4.1.3" }, "peerDependencies": {}, "size-limit": [ { "path": "dist/trie-search.cjs.production.min.js", "limit": "10 KB" }, { "path": "dist/trie-search.esm.js", "limit": "10 KB" } ], "husky": { "hooks": { "pre-commit": "yarn test" } }, "module": "dist/trie-search.esm.js", "jest": { "testEnvironment": "jsdom", "collectCoverage": true, "testResultsProcessor": "jest-sonar-reporter", "coveragePathIgnorePatterns": [ "setupTests.tsx", ".*/index.ts", ".*.spec.ts", ".*/stories/.*", ".*.stories.tsx" ] } }