UNPKG

rou3

Version:

Lightweight and fast router for JavaScript.

50 lines (49 loc) 1.52 kB
{ "name": "rou3", "version": "0.7.3", "description": "Lightweight and fast router for JavaScript.", "repository": "h3js/rou3", "license": "MIT", "sideEffects": false, "type": "module", "exports": { ".": "./dist/index.mjs", "./compiler": "./dist/compiler.mjs" }, "types": "./dist/index.d.mts", "files": [ "dist" ], "scripts": { "bench:bun": "bun ./test/bench", "bench:deno": "deno run -A ./test/bench/index.ts", "bench:node": "node --expose-gc --allow-natives-syntax --disable-warning=ExperimentalWarning --experimental-strip-types ./test/bench/index.ts", "build": "obuild", "dev": "vitest", "lint": "eslint . && prettier -c src test", "lint:fix": "automd && eslint --fix . && prettier -w src test", "release": "pnpm test && pnpm build && changelogen --release && git push --follow-tags && npm publish", "test": "pnpm lint && pnpm test:types && vitest run --coverage", "test:types": "tsc --noEmit" }, "devDependencies": { "@mitata/counters": "^0.0.8", "@types/node": "^24.0.1", "@vitest/coverage-v8": "^3.2.3", "0x": "^5.8.0", "automd": "^0.4.0", "changelogen": "^0.6.1", "esbuild": "^0.25.5", "eslint": "^9.29.0", "eslint-config-unjs": "^0.4.2", "jiti": "^2.4.2", "listhen": "^1.9.0", "mitata": "^1.0.34", "obuild": "^0.2.1", "prettier": "^3.5.3", "rou3-latest": "npm:rou3@0.7.2", "typescript": "^5.8.3", "vitest": "^3.2.3" }, "packageManager": "pnpm@10.12.1" }