UNPKG

@hono/zod-openapi

Version:

A wrapper class of Hono which supports OpenAPI.

61 lines 1.4 kB
{ "name": "@hono/zod-openapi", "version": "0.19.8", "description": "A wrapper class of Hono which supports OpenAPI.", "type": "module", "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "build": "tsup ./src/index.ts", "prepack": "yarn build", "publint": "attw --pack && publint", "typecheck": "tsc -b tsconfig.json", "test": "vitest" }, "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } } }, "license": "MIT", "publishConfig": { "registry": "https://registry.npmjs.org", "access": "public" }, "repository": { "type": "git", "url": "git+https://github.com/honojs/middleware.git", "directory": "packages/zod-openapi" }, "homepage": "https://github.com/honojs/middleware", "peerDependencies": { "hono": ">=4.3.6", "zod": "3.*" }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", "publint": "^0.3.9", "tsup": "^8.4.0", "typescript": "^5.8.2", "vitest": "^3.0.8", "yaml": "^2.4.3", "zod": "^3.22.1" }, "dependencies": { "@asteasolutions/zod-to-openapi": "^7.3.0", "@hono/zod-validator": "^0.7.0" }, "engines": { "node": ">=16.0.0" } }