UNPKG

@minisylar/express-typed-router

Version:

A strongly-typed Express router with Zod validation and automatic type inference for params, body, query, and middleware

74 lines (73 loc) 2.06 kB
{ "name": "@minisylar/express-typed-router", "version": "1.4.3", "description": "A strongly-typed Express router with Zod validation and automatic type inference for params, body, query, and middleware", "type": "module", "main": "dist/zod-router.cjs", "module": "dist/zod-router.js", "types": "dist/zod-router.d.ts", "exports": { ".": { "import": "./dist/zod-router.js", "require": "./dist/zod-router.cjs", "types": "./dist/zod-router.d.ts" } }, "files": [ "dist/**/*", "README.md" ], "scripts": { "build": "tsdown", "build:watch": "tsdown --watch", "clean": "rimraf dist", "dev": "pnpm build:watch", "prepublishOnly": "pnpm run clean && pnpm run build", "test": "echo \"Error: no test specified\" && exit 1", "type-check": "tsc --noEmit", "lint": "echo \"Linting with your preferred linter\"", "format": "echo \"Formatting with your preferred formatter\"", "release": "semantic-release", "release:dry": "semantic-release --dry-run", "prepare": "pnpm run build" }, "keywords": [ "express", "router", "typescript", "zod", "validation", "middleware", "type-safe", "strongly-typed" ], "author": "Mini-Sylar", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/Mini-Sylar/express-typed-router.git" }, "bugs": { "url": "https://github.com/Mini-Sylar/express-typed-router/issues" }, "homepage": "https://github.com/Mini-Sylar/express-typed-router#readme", "packageManager": "pnpm@10.11.0", "peerDependencies": { "express": "^4.18.0 || ^5.0.0", "zod": "^3.25.0" }, "devDependencies": { "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@types/express": "^5.0.3", "conventional-changelog-conventionalcommits": "^9.0.0", "rimraf": "^6.0.1", "semantic-release": "^24.2.5", "tsdown": "^0.12.7", "typescript": "^5.8.3", "zod": "^3.25.56" }, "engines": { "node": ">=18.0.0" } }