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.
141 lines (140 loc) • 3.49 kB
JSON
{
"name": "express-zod-api",
"version": "22.13.2",
"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",
"scripts": {
"build": "tsup",
"postbuild": "yarn pack --filename release.tgz && attw release.tgz && rm release.tgz",
"pretest": "tsc --noEmit",
"test": "vitest run --coverage",
"bench": "vitest bench --run ./bench",
"prepublishOnly": "eslint && yarn test && yarn build",
"prepack": "cp ../*.md ../LICENSE ./",
"postversion": "git push && git push --tags"
},
"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"
}
},
"./migration": {
"import": {
"types": "./migration/index.d.ts",
"default": "./migration/index.js"
},
"require": {
"types": "./migration/index.d.cts",
"default": "./migration/index.cjs"
}
}
},
"files": [
"dist",
"migration",
"*.md"
],
"engines": {
"node": "^20.9.0 || ^22.0.0"
},
"dependencies": {
"ansis": "^3.17.0",
"node-mocks-http": "^1.16.2",
"openapi3-ts": "^4.4.0",
"ramda": "^0.30.1"
},
"peerDependencies": {
"@types/compression": "^1.7.5",
"@types/express": "^4.17.13 || ^5.0.0",
"@types/express-fileupload": "^1.5.0",
"@types/http-errors": "^2.0.2",
"compression": "^1.7.4",
"express": "^4.21.1 || ^5.0.1",
"express-fileupload": "^1.5.0",
"http-errors": "^2.0.0",
"typescript": "^5.1.3",
"zod": "^3.23.0"
},
"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": {
"@arethetypeswrong/cli": "^0.17.4",
"@types/cors": "^2.8.14",
"@types/depd": "^1.1.36",
"@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.6.3",
"snakify-ts": "^2.3.0",
"tsup": "^8.4.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"
],
"packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
}