UNPKG

http-reply

Version:

A lightweight Node.js utility for sending consistent, standardized HTTP responses across your API endpoints

65 lines (64 loc) 1.5 kB
{ "name": "http-reply", "version": "1.0.0", "description": "A lightweight Node.js utility for sending consistent, standardized HTTP responses across your API endpoints", "main": "./dist/index.js", "module": "./dist/cjs/index.cjs", "types": "./dist/index.d.ts", "type": "module", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/cjs/index.cjs", "types": "./dist/index.d.ts" } }, "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "build": "tsup", "dev": "tsup --watch", "postbuild": "node makeExportFile.js", "clean": "rm -rf dist", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "https://github.com/HarshDev1809/http-reply.git" }, "keywords": [ "http", "response", "express", "fastify", "api", "http-response", "nodejs", "rest-api", "middleware", "error-handling", "api-response", "http-status", "json-response", "backend", "server", "web-server", "response-handler", "node", "utility", "http-utilities" ], "author": "Harsh Dev", "license": "MIT", "bugs": { "url": "https://github.com/HarshDev1809/http-reply/issues" }, "homepage": "https://github.com/HarshDev1809/http-reply#readme", "devDependencies": { "tsup": "^8.5.0", "typescript": "^5.8.3" } }