my-handler
Version:
Simple Handler is a lightweight and flexible utility wrapper, heavily inspired by tRPC, designed for use in my personal projects. It provides an easy way to create and manage handlers with schema validation (powered by Zod) and middleware support for adva
49 lines • 1.12 kB
JSON
{
"name": "my-handler",
"version": "1.3.0",
"description": "",
"type": "module",
"main": "./dist/mod.js",
"types": "./dist/mod.d.ts",
"files": [
"dist",
"README.md"
],
"repository": {
"type": "git",
"url": "https://github.com/silverlila/my-handler"
},
"keywords": [
"handler",
"context",
"context-injection",
"typescript",
"zod",
"type-safe",
"validation",
"input-validation",
"middleware",
"api-handler",
"module-handler",
"nested-modules",
"api-factory",
"function-wrapper",
"functional-programming"
],
"author": "Silvi Lila",
"license": "MIT",
"dependencies": {
"zod": "^3.23.8"
},
"devDependencies": {
"@types/node": "^22.9.3",
"typescript": "^5.7.2"
},
"scripts": {
"build": "tsc",
"test": "pnpm build && node --test ./dist/test.js",
"release:patch": "pnpm version patch && git push origin main --follow-tags",
"release:minor": "pnpm version minor && git push origin main --follow-tags",
"release:major": "pnpm version major && git push origin main --follow-tags"
}
}