UNPKG

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.

125 lines 2.99 kB
{ "name": "express-zod-api", "version": "26.0.0", "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.js", "types": "dist/index.d.ts", "module": "dist/index.js", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "files": [ "dist", "*.md" ], "engines": { "node": "^20.19.0 || ^22.12.0 || ^24.0.0" }, "dependencies": { "ansis": "^4.1.0", "node-mocks-http": "^1.17.2", "openapi3-ts": "^4.5.0", "ramda": "^0.32.0", "@express-zod-api/zod-plugin": "^3.0.0" }, "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.1", "typescript": "^5.1.3", "zod": "^4.1.13" }, "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/compression": "^1.8.1", "@types/cors": "^2.8.19", "@types/depd": "^1.1.37", "@types/express": "^5.0.3", "@types/express-fileupload": "^1.5.1", "@types/http-errors": "^2.0.5", "@types/node-forge": "^1.3.11", "@types/ramda": "^0.31.0", "camelize-ts": "^3.0.0", "compression": "^1.8.0", "cors": "^2.8.5", "depd": "^2.0.0", "express": "^5.1.0", "express-fileupload": "^1.5.1", "http-errors": "^2.0.1", "node-forge": "^1.3.2", "snakify-ts": "^2.3.0", "typescript": "^5.9.2", "undici": "^7.10.0", "zod": "^4.1.13" }, "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": "tsdown", "pretest": "tsc", "test": "vitest run --coverage", "bench": "vitest bench --run ./bench" } }