express-zod-api
Version:
A Typescript framework to help you get an API server up and running with I/O schema validation and custom middlewares in minutes.
123 lines • 2.85 kB
JSON
{
"name": "express-zod-api",
"version": "24.4.1",
"description": "A Typescript framework to help you get an API server up and running with I/O schema validation and custom middlewares in minutes.",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/RobinTail/express-zod-api.git"
},
"homepage": "https://ez.robintail.cz",
"author": {
"name": "Anna Bocharova",
"url": "https://robintail.cz",
"email": "me@robintail.cz"
},
"bugs": "https://github.com/RobinTail/express-zod-api/issues",
"funding": "https://github.com/sponsors/RobinTail",
"type": "module",
"sideEffects": true,
"main": "dist/index.cjs",
"types": "dist/index.d.ts",
"module": "dist/index.js",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"files": [
"dist",
"*.md"
],
"engines": {
"node": "^20.9.0 || ^22.0.0 || ^24.0.0"
},
"dependencies": {
"ansis": "^4.1.0",
"node-mocks-http": "^1.17.2",
"openapi3-ts": "^4.4.0",
"ramda": "^0.30.1"
},
"peerDependencies": {
"@types/compression": "^1.7.5",
"@types/express": "^5.0.0",
"@types/express-fileupload": "^1.5.0",
"@types/http-errors": "^2.0.2",
"compression": "^1.8.0",
"express": "^5.1.0",
"express-fileupload": "^1.5.0",
"http-errors": "^2.0.0",
"typescript": "^5.1.3",
"zod": "^3.25.35"
},
"peerDependenciesMeta": {
"@types/compression": {
"optional": true
},
"@types/express": {
"optional": true
},
"@types/express-fileupload": {
"optional": true
},
"@types/http-errors": {
"optional": true
},
"compression": {
"optional": true
},
"express-fileupload": {
"optional": true
}
},
"devDependencies": {
"@types/cors": "^2.8.19",
"@types/depd": "^1.1.37",
"@types/node-forge": "^1.3.11",
"@types/ramda": "^0.30.0",
"@types/semver": "^7.7.0",
"camelize-ts": "^3.0.0",
"cors": "^2.8.5",
"depd": "^2.0.0",
"node-forge": "^1.3.1",
"semver": "^7.7.2",
"snakify-ts": "^2.3.0",
"undici": "^6.19.8"
},
"keywords": [
"nodejs",
"api",
"http",
"middleware",
"documentation",
"json",
"express",
"typescript",
"schema",
"server",
"handler",
"swagger",
"documentation-tool",
"openapi",
"schema-validation",
"endpoint",
"openapi-specification",
"swagger-documentation",
"zod",
"validation"
],
"scripts": {
"build": "tsup",
"postbuild": "attw --pack",
"pretest": "tsc --noEmit",
"test": "vitest run --coverage",
"bench": "vitest bench --run ./bench"
}
}