zod-sockets
Version:
Socket.IO solution with I/O validation and the ability to generate AsyncAPI specification and a contract for consumers
75 lines • 1.57 kB
JSON
{
"name": "zod-sockets",
"version": "6.0.0",
"description": "Socket.IO solution with I/O validation and the ability to generate AsyncAPI specification and a contract for consumers",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/RobinTail/zod-sockets.git"
},
"author": {
"name": "Anna Bocharova",
"url": "https://robintail.cz",
"email": "me@robintail.cz"
},
"type": "module",
"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": "^22.19.0 || ^24.0.0 || ^26.0.0"
},
"dependencies": {
"ansis": "^4.2.0",
"ramda": "^0.32.0",
"yaml": "^2.8.3"
},
"peerDependencies": {
"socket.io": "^4.7.4",
"typescript": "^5.3.3 || ^6.0.2",
"zod": "^4.3.4"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"devDependencies": {
"@types/ramda": "^0.31.0",
"socket.io": "^4.7.4",
"typescript": "^6.0.2",
"vitest": "^4.0.4",
"zod": "^4.4.1"
},
"keywords": [
"nodejs",
"socket",
"validation",
"server",
"sockets",
"websocket",
"websockets",
"socket-io",
"zod",
"typescript-library",
"asyncapi",
"async-api",
"asyncapi-specification",
"asyncapi-tools"
],
"scripts": {
"build": "tsdown",
"pretest": "tsc --noEmit",
"test": "vitest run --coverage"
}
}