UNPKG

@tezx/test

Version:

File-based HTTP router for Node, Bun, and Deno with support for dynamic routes, middleware, static files, and WebSocket — built for TezX.

73 lines 2.02 kB
{ "name": "@tezx/test", "version": "1.0.0", "type": "module", "types": "./index.d.ts", "typings": "./index.d.ts", "main": "./index.js", "module": "./index.js", "description": "File-based HTTP router for Node, Bun, and Deno with support for dynamic routes, middleware, static files, and WebSocket — built for TezX.", "keywords": [ "tezx", "router", "file-based-router", "fs-router", "nodejs", "deno", "bun", "websocket", "http", "auto-router", "tezx-router", "file-router", "middleware" ], "publishConfig": { "access": "public" }, "bin": { "tezx-router": "cli/index.js" }, "author": "Rakibul Islam", "license": "MIT", "homepage": "https://github.com/tezxjs/tezx-router", "repository": { "type": "git", "url": "https://github.com/tezxjs/tezx-router.git", "directory": "packages/router" }, "bugs": { "url": "https://github.com/tezxjs/tezx-router/issues" }, "exports": { ".": { "import": "./index.js", "require": "./index.js", "types": "./index.d.ts" } }, "files": [ "build/", "cli/", "config/", "dev/", "utils/", "index.js", "index.d.ts" ], "scripts": { "clean": "rm -rf dist", "cli": "chmod +x cli/index.js && npm link", "build:cjs": "tsc --module CommonJS --target ES2017 --outDir dist/cjs --removeComments", "build:esm": "tsc --module ESNext --target ES2020 --outDir dist/esm --removeComments", "build:types": "tsc --declaration --emitDeclarationOnly --outDir dist/types", "build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:types" }, "devDependencies": { "typescript": "^5.4.0" }, "engines": { "node": ">=18", "bun": ">=1.0" } }