@minisylar/express-typed-router
Version:
A strongly-typed Express router with Zod validation and automatic type inference for params, body, query, and middleware
91 lines (90 loc) • 2.39 kB
JSON
{
"name": "@minisylar/express-typed-router",
"version": "1.9.3",
"description": "A strongly-typed Express router with Zod validation and automatic type inference for params, body, query, and middleware",
"type": "module",
"main": "dist/schema-router.cjs",
"module": "dist/schema-router.mjs",
"types": "dist/schema-router.d.mts",
"exports": {
".": {
"import": {
"types": "./dist/schema-router.d.mts",
"default": "./dist/schema-router.mjs"
},
"require": {
"types": "./dist/schema-router.d.cts",
"default": "./dist/schema-router.cjs"
}
}
},
"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",
"yup",
"effect",
"joi",
"valibot",
"arktype",
"decoders",
"ts.data.json",
"unhoax",
"validation",
"middleware",
"type-safe",
"strongly-typed",
"schema",
"standard schema"
],
"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@11.5.0",
"peerDependencies": {
"express": "^4.18.0 || ^5.0.0"
},
"dependencies": {
"@standard-schema/spec": "^1.1.0",
"@standard-schema/utils": "^0.3.0"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/express": "^5.0.6",
"conventional-changelog-conventionalcommits": "^9.3.1",
"rimraf": "^6.1.3",
"semantic-release": "^25.0.3",
"tsdown": "^0.22.1",
"typescript": "^5.9.2"
},
"engines": {
"node": ">=18.0.0"
}
}