UNPKG

fast-trie-search

Version:

This package can be used to implement a Search-As-You-Type funtionality and uses a Trie data structure

61 lines (60 loc) 1.51 kB
{ "name": "fast-trie-search", "version": "1.2.1", "description": "This package can be used to implement a Search-As-You-Type funtionality and uses a Trie data structure ", "exports": { ".": { "import": { "types": "./lib/esm/types/index.d.ts", "default": "./lib/esm/index.mjs" }, "require": { "types": "./lib/cjs/types/index.d.ts", "default": "./lib/cjs/index.js" } } }, "types": "./lib/cjs/types/index.d.ts", "main": "./lib/cjs/index.js", "files": [ "lib/**/*" ], "scripts": { "test": "jest", "clean": "rm -rf ./lib", "build": "npm run clean && npm run build:esm && npm run build:cjs", "build:esm": "tsc -p ./configs/tsconfig.esm.json && mv lib/esm/index.js lib/esm/index.mjs", "build:cjs": "tsc -p ./configs/tsconfig.cjs.json", "prepack": "npm run build" }, "repository": { "type": "git", "url": "https://github.com/lalitisbhatia/fast-trie-search.git" }, "keywords": [ "search", "search-as-you-type", "typeahead", "trie" ], "author": "Lalit Bhatia", "license": "ISC", "dependencies": { "@types/node": "^20.2.5", "regex-parser": "^2.2.11", "typescript": "^5.1.3" }, "devDependencies": { "@jest/globals": "^29.5.0", "@types/jest": "^29.5.2", "babel-jest": "^29.5.0", "jest": "^29.5.0", "ts-jest": "^29.1.0" }, "jest": { "testEnvironment": "node", "coveragePathIgnorePatterns": [ "/node_modules/" ] } }