@jsonjoy.com/jit-router
Version:
High-performance HTTP router with JIT compilation.
83 lines • 1.94 kB
JSON
{
"name": "@jsonjoy.com/jit-router",
"publishConfig": {
"access": "public"
},
"version": "18.28.0",
"description": "High-performance HTTP router with JIT compilation.",
"author": {
"name": "streamich",
"url": "https://github.com/streamich"
},
"homepage": "https://github.com/streamich/json-joy/tree/master/packages/jit-router",
"repository": {
"type": "git",
"url": "https://github.com/streamich/json-joy.git",
"directory": "packages/jit-router"
},
"license": "Apache-2.0",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/streamich"
},
"keywords": [
"router",
"jit",
"tree",
"trie",
"radix",
"path",
"url",
"http"
],
"peerDependencies": {
"rxjs": "7",
"tslib": "*"
},
"dependencies": {
"@jsonjoy.com/util": "18.28.0",
"sonic-forest": "^1.2.1"
},
"devDependencies": {
"find-my-way": "^9.6.0"
},
"engines": {
"node": ">=10.0"
},
"main": "lib/index.js",
"types": "lib/index.d.ts",
"typings": "lib/index.d.ts",
"files": [
"LICENSE",
"lib/"
],
"scripts": {
"clean": "npx rimraf lib typedocs coverage gh-pages yarn-error.log",
"build": "tsc -b tsconfig.build.json",
"typedoc": "typedoc",
"typecheck": "tsc -b --noEmit",
"test": "jest --maxWorkers 7",
"bench": "npx ts-node src/__bench__/realistic.bench.ts",
"bench:router": "npx ts-node src/__bench__/router-benchmark.bench.ts"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"moduleFileExtensions": [
"ts",
"js"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"transformIgnorePatterns": [
".*/node_modules/.*"
],
"testRegex": ".*/(__tests__|__jest__|demo)/.*(?<!\\.vi)\\.(test|spec)\\.tsx?$",
"rootDir": ".",
"testPathIgnorePatterns": [
"node_modules",
"\\.vi\\.(test|spec)\\.tsx?$"
]
}
}