UNPKG

@fastify/response-validation

Version:

A simple plugin that enables response validation for Fastify.

81 lines (80 loc) 1.91 kB
{ "name": "@fastify/response-validation", "version": "3.0.3", "description": "A simple plugin that enables response validation for Fastify.", "main": "index.js", "type": "commonjs", "dependencies": { "@fastify/error": "^4.0.0", "ajv": "^8.12.0", "fastify-plugin": "^5.0.1" }, "types": "types/index.d.ts", "devDependencies": { "@fastify/pre-commit": "^2.1.0", "@types/node": "^22.0.0", "ajv-errors": "^3.0.0", "ajv-formats": "^3.0.1", "c8": "^10.1.2", "eslint": "^9.17.0", "fastify": "^5.0.0", "neostandard": "^0.12.0", "tsd": "^0.31.0" }, "scripts": { "lint": "eslint", "lint:fix": "eslint --fix", "test": "npm run test:unit && npm run test:typescript", "test:unit": "c8 --100 node --test", "test:typescript": "tsd" }, "repository": { "type": "git", "url": "git+https://github.com/fastify/fastify-response-validation.git" }, "keywords": [ "fastify", "validation", "response", "json", "schema" ], "author": "Tomas Della Vedova", "contributors": [ { "name": "Matteo Collina", "email": "hello@matteocollina.com" }, { "name": "Manuel Spigolon", "email": "behemoth89@gmail.com" }, { "name": "James Sumners", "url": "https://james.sumners.info" }, { "name": "Frazer Smith", "email": "frazer.dev@icloud.com", "url": "https://github.com/fdawgs" } ], "license": "MIT", "bugs": { "url": "https://github.com/fastify/fastify-response-validation/issues" }, "homepage": "https://github.com/fastify/fastify-response-validation#readme", "funding": [ { "type": "github", "url": "https://github.com/sponsors/fastify" }, { "type": "opencollective", "url": "https://opencollective.com/fastify" } ], "publishConfig": { "access": "public" } }