UNPKG

http-status-typed

Version:

HTTP status codes as TypeScript const enum - zero bundle size, compile-time inlined values (TypeScript only)

65 lines (64 loc) 1.45 kB
{ "name": "http-status-typed", "version": "3.0.0", "description": "HTTP status codes as TypeScript const enum - zero bundle size, compile-time inlined values (TypeScript only)", "types": "index.d.ts", "files": [ "index.d.ts" ], "scripts": { "build": "tsc -p tsconfig.json", "publish": "npm run build", "test": "npx jest", "test:watch": "npx jest --watch", "clean": "rm -rf index.d.ts index.js", "prepublishOnly": "npm run clean && npm run build", "prepack": "npm run build", "validate": "npm run build && npm run test" }, "keywords": [ "typescript", "const-enum", "http", "status", "codes", "compile-time", "zero-bundle", "inlined", "type-safe", "node", "apache", "HttpStatus", "httpclient", "enum", "react", "next", "nextjs", "vite", "webpack" ], "author": "Shahaed Hasan", "license": "MIT", "devDependencies": { "@types/jest": "^29.5.14", "ts-jest": "^29.3.4", "typescript": "^5.4.5" }, "peerDependencies": { "typescript": ">=4.1.0" }, "repository": { "type": "git", "url": "git+https://github.com/Shahaed/http-status-typed.git" }, "bugs": { "url": "https://github.com/Shahaed/http-status-typed/issues" }, "homepage": "https://github.com/Shahaed/http-status-typed#readme", "engines": { "node": ">=18.0.0" }, "publishConfig": { "access": "public" } }