UNPKG

http-response-status-code

Version:

A lightweight utility for retrieving HTTP status codes, names, and descriptions. Easily validate, categorize, and manage HTTP responses with built-in methods for informational, success, redirection, client, and server error codes.

84 lines (83 loc) 2.76 kB
{ "name": "http-response-status-code", "version": "1.7.5", "description": "A lightweight utility for retrieving HTTP status codes, names, and descriptions. Easily validate, categorize, and manage HTTP responses with built-in methods for informational, success, redirection, client, and server error codes.", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "test": "jest --config jest.config.ts", "build": "tsc --build", "coverage": "jest --coverage --config jest.config.ts" }, "repository": { "type": "git", "url": "git+https://github.com/Skillnter/http-response-status-code.git" }, "keywords": [ "Http", "Response", "Status", "Codes", "Https", "skillnter" ], "author": "Himanshu Bansal <skillhimanshubansal@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/Skillnter/http-response-status-code/issues" }, "homepage": "https://github.com/Skillnter/http-response-status-code#readme", "devDependencies": { "@types/jest": "^29.5.14", "@types/node": "^22.13.4", "@typescript-eslint/eslint-plugin": "^5.62.0", "eslint-plugin-security": "^1.7.1", "jest": "^29.7.0", "ts-jest": "^29.2.5", "ts-node": "^10.9.2", "typescript": "^4.9.5" }, "publishConfig": { "@skillnter:registry": "https://npm.pkg.github.com/" }, "files": [ "dist/index.js", "dist/index.d.ts", "dist/utils/index.js", "dist/utils/index.d.ts", "dist/utils/lists/index.js", "dist/utils/lists/index.d.ts", "dist/utils/mappers/index.js", "dist/utils/mappers/index.d.ts", "dist/utils/status/index.js", "dist/utils/status/index.d.ts", "dist/utils/validators/index.js", "dist/utils/validators/index.d.ts", "dist/interfaces/*.js", "dist/interfaces/*.d.ts", "dist/constants/*.js", "dist/constants/*.d.ts" ], "funding": [ { "type": "github", "url": "https://github.com/sponsors/Skillnter" }, { "type": "patreon", "url": "https://www.patreon.com/skillnter" }, { "type": "open_collective", "url": "https://opencollective.com/http-response-status-code" }, { "type": "buy_me_a_coffee", "url": "https://buymeacoffee.com/skillnter" }, { "type": "paypal", "url": "https://www.paypal.com/paypalme/skillnte" } ] }