UNPKG

slimsearch

Version:

Tiny but powerful full-text search engine for browser and Node

93 lines 2.51 kB
{ "name": "slimsearch", "version": "2.2.2", "description": "Tiny but powerful full-text search engine for browser and Node", "keywords": [ "search", "full text", "fuzzy", "prefix", "auto suggest", "auto complete", "index" ], "homepage": "https://mister-hope.github.io/slimsearch/", "bugs": "https://github.com/Mister-Hope/slimsearch/issues", "repository": { "type": "git", "url": "https://github.com/Mister-Hope/slimsearch.git" }, "license": "MIT", "author": "Luca Ongaro, Mister Hope", "sideEffects": false, "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/index.cjs", "default": "./dist/index.mjs" }, "./SearchableMap": { "types": "./dist/SearchableMap.d.ts", "require": "./dist/SearchableMap.cjs", "default": "./dist/SearchableMap.mjs" } }, "main": "dist/index.cjs", "module": "dist/index.mjs", "files": [ "dist" ], "devDependencies": { "@codecov/rollup-plugin": "1.6.0", "@commitlint/cli": "19.6.0", "@commitlint/config-conventional": "19.6.0", "@types/benchmark": "2.1.5", "@types/node": "22.10.1", "@vitest/coverage-v8": "2.1.8", "benchmark": "2.1.4", "cz-git": "1.11.0", "eslint": "9.16.0", "eslint-config-mister-hope": "0.4.0-beta.7", "fast-check": "3.23.1", "husky": "9.1.7", "nano-staged": "0.8.0", "prettier": "3.4.2", "rollup": "4.28.1", "rollup-plugin-dts": "6.1.1", "rollup-plugin-esbuild": "6.1.1", "tslib": "2.8.1", "typedoc": "0.27.4", "typescript": "5.7.2", "typescript-eslint": "8.18.0", "vitest": "2.1.8" }, "config": { "commitizen": { "path": "./node_modules/cz-git" } }, "nano-staged": { "**/*": [ "prettier --check --write" ], ".{js,ts}": [ "eslint --fix" ] }, "engines": { "node": ">=18.18.0" }, "scripts": { "benchmark": "vitest bench", "benchmark:build": "BENCHMARK=true pnpm build", "benchmark:legacy": "pnpm build-benchmark && NODE_ENV=production node --expose-gc benchmarks/dist/index.cjs", "build": "rollup -c rollup.config.ts --configPlugin esbuild", "clean": "rm -rf dist", "dev": "rollup -c rollup.config.ts --configPlugin esbuild -w", "docs:build": "typedoc --options typedoc.json", "lint": "eslint . --fix && prettier --check --write .", "lint:check": "eslint . && prettier --check .", "test": "vitest --coverage" } }