@thi.ng/router
Version:
Generic trie-based router with support for wildcards, route param validation/coercion, auth
104 lines • 2.44 kB
JSON
{
"name": "@thi.ng/router",
"version": "4.1.41",
"description": "Generic trie-based router with support for wildcards, route param validation/coercion, auth",
"type": "module",
"module": "./index.js",
"typings": "./index.d.ts",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/thi-ng/umbrella.git"
},
"homepage": "https://thi.ng/router",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/postspectacular"
},
{
"type": "patreon",
"url": "https://patreon.com/thing_umbrella"
},
{
"type": "liberapay",
"url": "https://liberapay.com/thi.ng"
}
],
"author": "Karsten Schmidt (https://thi.ng)",
"license": "Apache-2.0",
"scripts": {
"build": "yarn build:esbuild && yarn build:decl",
"build:decl": "tsc --declaration --emitDeclarationOnly",
"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
"clean": "bun ../../tools/src/clean-package.ts",
"doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
"pub": "yarn npm publish --access public",
"test": "bun test",
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
},
"dependencies": {
"@thi.ng/api": "^8.12.2",
"@thi.ng/checks": "^3.7.18",
"@thi.ng/equiv": "^2.1.92",
"@thi.ng/errors": "^2.5.42"
},
"devDependencies": {
"esbuild": "^0.25.9",
"typedoc": "^0.28.12",
"typescript": "^5.9.2"
},
"keywords": [
"browser",
"datastructure",
"declarative",
"history",
"html",
"parametric",
"pattern",
"router",
"server",
"spa",
"trie",
"typescript",
"ui",
"validate",
"wildcard"
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=18"
},
"files": [
"./*.js",
"./*.d.ts"
],
"exports": {
".": {
"default": "./index.js"
},
"./api": {
"default": "./api.js"
},
"./html": {
"default": "./html.js"
},
"./router": {
"default": "./router.js"
},
"./trie": {
"default": "./trie.js"
}
},
"thi.ng": {
"related": [
"hdom",
"rdom"
],
"year": 2014
},
"gitHead": "e215a3e8de3809736ba0042c93bd8703a5a1a337\n"
}