{"_id":"http-status-codes","_rev":"79-b67b113a17f9d1ab78927ee88c09b791","name":"http-status-codes","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","dist-tags":{"latest":"2.3.0","beta":"2.1.5-beta.1"},"versions":{"1.0.0":{"name":"http-status-codes","version":"1.0.0","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","main":"httpstatus.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/prettymuchbryce/node-http-status.git"},"keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","_id":"http-status-codes@1.0.0","dist":{"shasum":"f9f45c67ebf7fd04afc21d2589a43e1668b280d2","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-1.0.0.tgz","integrity":"sha512-TI4z+FZHm4kMzxVGLcYt/vOg2OfcS/9TiF0KCAlXKElWE7PJk0bMLGzvIxkxO5Cq0Ate+ZgSBVLdXvDDLp3i/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHJAP+hK91dhqAoThDeI99276J0XbbuvM7WPPIuiM8ZXAiEAsiT9H6xuXWe/Qb7C6TnGJTrdwuNZWFs7UvOyIK+SPOk="}]},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"directories":{}},"1.0.1":{"name":"http-status-codes","version":"1.0.1","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","main":"httpstatus.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/prettymuchbryce/node-http-status.git"},"bin":{"htto-status-codes":"./bin/http-status-codes"},"keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","_id":"http-status-codes@1.0.1","dist":{"shasum":"ab0ce21edc532adc9ad2d5ee9e709232922cdd1e","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-1.0.1.tgz","integrity":"sha512-0GJ7nGMn43Sd2pBqL7bud40vQaGn1Afj5w9XqyfvxMadgea0hisO8+fV69IOof2r0v0bY2PMSwlaipaOO9aqEQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBenbUAx7u2eVLwK1iDma++7HAGAPJkc2UgGyyD5RSrPAiBlLfU2h0NrxBz2uU93Evw6bZwcJmo8WZBKpuWvJDJh4w=="}]},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"directories":{}},"1.0.2":{"name":"http-status-codes","version":"1.0.2","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","main":"./lib/httpstatus","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/prettymuchbryce/node-http-status.git"},"bin":{"http-status-codes":"./bin/http-status-codes"},"keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","_id":"http-status-codes@1.0.2","dist":{"shasum":"00a3fbfb5c5e7137c37f58490b24cafb4cfba9d0","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-1.0.2.tgz","integrity":"sha512-Im0pMkV666nC1583u4QX+dex5HqIQoqAqSzL4EVXCXMJx4Ou+DeNAUzRohc48UYpM5yvLRF6tpOc/2Y2/EM4vg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFfgi7lMhlWYl1rNwhfXb0tMy2N+aB2MDpnrLiFsmeoOAiAL3bNEFz1spcMs+gUXf6vDcv01s3NAn/jbVFN3OB/pqw=="}]},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"directories":{}},"1.0.3":{"name":"http-status-codes","version":"1.0.3","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/prettymuchbryce/node-http-status.git"},"main":"./index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","gitHead":"a3ce39ac64161e73d3b55f5058fa139113d76c29","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status","_id":"http-status-codes@1.0.3","_shasum":"3a73a2081ca88a4d07d71b126142665e9a7746e3","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"dist":{"shasum":"3a73a2081ca88a4d07d71b126142665e9a7746e3","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-1.0.3.tgz","integrity":"sha512-6XDSOVtBjmAAwfe1/W7/1GwL34/mTeN5/VPBy06BAxgPMW6QRtj4/ZewzFy3zCfkxj8ZMTPLLmlHF93C/Vwy/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLMDOKsc43BzgC6+IG+qEjaQGVAVS+eMq1TfyBCGEyjQIhANiPiLJ+nrWTYfg7fGNXnK7wzX/ofIxvFc+q8HSjn9j/"}]},"directories":{}},"1.0.4":{"name":"http-status-codes","version":"1.0.4","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/prettymuchbryce/node-http-status.git"},"main":"./index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","gitHead":"87affffef63e5d6bd009afcdf94c344b15a7b6ce","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status","_id":"http-status-codes@1.0.4","_shasum":"204a15779c2bb2464a4826f257cd9252d820d548","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"dist":{"shasum":"204a15779c2bb2464a4826f257cd9252d820d548","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-1.0.4.tgz","integrity":"sha512-k4/v5aorhCKPOabQGZ+bZdDqa0PjHwpK9vJZRLhVnn12ETp2gfvC+sCE7ymp4/N+UjVo+V/KX1nHlz3ArD4jTw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+77SRgk4vzzFUjUGkQwxbbsCNIuCGPa2i8/h5FkPmmgIgKZWitNga6z21Tjzqsi7EZjqazlSQuyMIeLzk/VMWvEE="}]},"directories":{}},"1.0.5":{"name":"http-status-codes","version":"1.0.5","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/prettymuchbryce/node-http-status.git"},"main":"./index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","gitHead":"7705fe9c8f7540e4b010398c6240dd146f0c0660","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status","_id":"http-status-codes@1.0.5","_shasum":"ee82dd3475defb2a8663d1b7c38e475871395593","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"dist":{"shasum":"ee82dd3475defb2a8663d1b7c38e475871395593","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-1.0.5.tgz","integrity":"sha512-SD4nefikaapR0M90uPRB40Mi+j0RL04Zp8CGRsCXnLk5BXhqGbfkTVBygcAgXabnbtQWEpiNngFGfQZpPn8l9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFrpnjHg5OW7avnOc7uzMF335z2HFkKa+R7xNa4AyEz8AiBYpSpT3Kun2j9kTRlQLa66T8UebDtEaOuRWKE9dzLpWQ=="}]},"directories":{}},"1.0.6":{"name":"http-status-codes","version":"1.0.6","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/prettymuchbryce/node-http-status.git"},"main":"./index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","gitHead":"e46b099dbddb6e10c435f3e1aa8c57582e501fc9","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status","_id":"http-status-codes@1.0.6","_shasum":"846089fb70da288e8e7d7aa9d5e12899df738745","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"dist":{"shasum":"846089fb70da288e8e7d7aa9d5e12899df738745","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-1.0.6.tgz","integrity":"sha512-ozuW80NkkQJOdnqwWEGWGhPtSzNjHF1FKwP6Tcw2RL3Ii44utaHT6J+eEUb2W5gHSwrP5/EKflu79wz/qKlqmA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEFHbjggEnt1ZEmI4kciOEAlQnjVX/9K58Tc63nZzLwQAiEAx0bt9ZSRyz6K9d1E7nj7lhyf9XuApx0tTuNS9i5U+Nw="}]},"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/http-status-codes-1.0.6.tgz_1454795796619_0.11882774857804179"},"directories":{}},"1.1.6":{"name":"http-status-codes","version":"1.1.6","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","gitHead":"2ce6d3c8e55ec1567a67224b9dfe042d06ae2092","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@1.1.6","_shasum":"7a75d2b94d35a93183f39a0c8a6eb8963c20e50d","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"dist":{"shasum":"7a75d2b94d35a93183f39a0c8a6eb8963c20e50d","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-1.1.6.tgz","integrity":"sha512-gA1/sVcuK7yMnZia3NlDLbegkEmKhPtmO0YqNwV8mi+moRm3A4qEaUZ0fCpkCVG5IWmGGuju5cOypZeE2Q6jlA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCttePmjD12pzhJTPUajvgBs7DSEBeTpclCT0N6kpYJrQIgHzpFI9smyepYEXP7Wj9cyX0JnXEuJk1kim7kW2FYjfk="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/http-status-codes-1.1.6.tgz_1485025167102_0.9540008630137891"},"directories":{}},"1.2.0":{"name":"http-status-codes","version":"1.2.0","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","typings":"index.d.ts","gitHead":"f42a6f9387b88bcdbeca62213ea99eb1c0ef976a","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@1.2.0","_shasum":"bfe719129128f268d7ac47026141ef81af49ce48","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"dist":{"shasum":"bfe719129128f268d7ac47026141ef81af49ce48","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-1.2.0.tgz","integrity":"sha512-YXkZVhyTRgt56VSIV9dkla2eUTwrbc7W0IQS7kA6L7vkwnAEzDa9T55TATc0+HPBvV3QF258Mzuzxu5JsE7x0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAZhlri39clp9bJvlplA1Lr7VRY0azmZJmZht8SJz6bLAiEA614Z0Qz7fMoliQ8Pz1fHKnZ1cCzx3ilRO2O4NMl+j/M="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes-1.2.0.tgz_1500934884340_0.7331703293602914"},"directories":{}},"1.3.0":{"name":"http-status-codes","version":"1.3.0","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","typings":"index.d.ts","gitHead":"0f475250b0dd9cbc42bc265fec6f2fd03dc5fd4a","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@1.3.0","_shasum":"9cd0e71391773d0671b489d41cbc5094aa4163b6","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"dist":{"shasum":"9cd0e71391773d0671b489d41cbc5094aa4163b6","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-1.3.0.tgz","integrity":"sha512-sI3sPmDZCe5paHlyCeIrf5z/tczPRz55QX5w0YtKamhdJ2VXyDRC6KI950I6q5Xw6/fzgd5mggHST/ENNhIcRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA5zBuJ7Eh1fJqOZK8CUkZkZrY1vh4iualPaV63sYKFAAiAVJ5L3JHOhv1jUy8NBlB8GN2C49wFgYrg/ukFvvzZgLw=="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes-1.3.0.tgz_1504983158797_0.8313800739124417"},"directories":{}},"1.3.1":{"name":"http-status-codes","version":"1.3.1","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","typings":"index.d.ts","gitHead":"338aa64a4ac2b90ba51e5b546ac37fdcbfde9ab4","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@1.3.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"dist":{"integrity":"sha512-j7EfK9geezX8jYI/GCe4N/8y14K67+TB/bseZrYjbGdt5E/j5tx5wY8s450EDdfQFlHKfF1tgfXVIzqyJXfM6w==","shasum":"534ee8ac601037b71e0fe396147d773fc38ecbe0","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-1.3.1.tgz","fileCount":5,"unpackedSize":28949,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcf5erCRA9TVsSAnZWagAAdtEP/2HuLB98nG8qB2uLPzZl\nDoFib5aAmcMa06G8IQhY4FnAbuudnpkWk6Iye3m/7lMcD3IQrr1JG6KN8rQ0\n30kV5xP/hvvbPo3UV6SdlzQsl8AZskQTY3QqF/vB31z+j4wgroP1SymBX6vi\nKsL4ANaMMwm0C4XJpBR/VyBYnhUMdCRilYnxixpAb8xeE24baJ/VrVKgxtDr\nnYgqqzHGqAeGcZzjAeJwhlP9xL2KEaX7PVXECmRofb73U/H3c52dqdWDgV7T\nlTOckvalAfhmui4iRB26toCfYpZvXbyzsLsSbaPwAEBnR0dX0R1rzk9sHunZ\nVfj3nWL2v+H+d/7XhlG5tnpqCSi/nC0jjLl8EhrP7hnEdkGLFmMDP6gfTkRf\nV0XBRXCZsrklHNYBxrmM9eqvMmNRcUzyTCk3S3RGwP6VXrzEG5jJ6ljX02RC\nxvOdMl7gYkkzjj1Mvr7ORe4xnkKvQTEHLrGyahr/lQGAun2Y9nTkDM+0D1ap\necBn6N2Pa53uNpIauNgNmInUhrczh9isYyV/ScwppL6v2ZDgxpCNSwVPHps1\nprhRT47ET96eNRsMgevTDnATBrzEA03Q6UnxlqOr2isDu3DgFAShg3pRreH+\ng+tNNPD1/LNP1sMC5FOu8kYmJqEApmBbz/dAgi2sPaJ9mSvDkcFMO8UrRvhX\na0Eu\r\n=88Bs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRuo+iC+gGVmELNJYbwNqIpPiciPwthN+JWV142rfJAAIhAOeAArAPzjC3HonKIU2UeY7GKD9WA+mYk/i3EZXa/ncF"}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_1.3.1_1551865770942_0.5132077486000013"},"_hasShrinkwrap":false},"1.3.2":{"name":"http-status-codes","version":"1.3.2","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","typings":"index.d.ts","gitHead":"edd12d38580538ad890316e02459a23ca2019cd8","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@1.3.2","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"dist":{"integrity":"sha512-nDUtj0ltIt08tGi2VWSpSzNNFye0v3YSe9lX3lIqLTuVvvRiYCvs4QQBSHo0eomFYw1wlUuofurUAlTm+vHnXg==","shasum":"181dfa4455ef454e5e4d827718fca3936680d10d","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-1.3.2.tgz","fileCount":5,"unpackedSize":27445,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcjBofCRA9TVsSAnZWagAAHwgP/3jMZxNOT1FSFlacMIVq\n+hZRxl63AuAlQaHhbuen9LziGFmOD50ZA8RX6KbrpsRHhxAzY6ziejpUmxNe\nTfrzQxm9i3zPvzKNw58ZreoY5YbL8ANYyv163HwY84eiU8UIjgLImrgDUIvd\nlISRvnMLvl4Vm7IbciS7bvwGgXgzlW84T/ugy2OgudmlH29ACxksjbwwS2lH\n7s5BXT4SfyCe3lgOgu0Mz8ZdtrMsYVUA/wGgx2OAQw8yklqk6wVRrmQnggXr\n1ia7XcgHns2X8rDCD2JiIpoP126vbzM2RxTxOfGKb15HuwtQVzh9hmleU1AO\niToTgKe+s6ZDW0ZswR9xU25DRUtVVmN9z8bEj/djfqiKRG59GROaCecTS7HO\ncfeTfl0HZiTLJgITTJFS6tnDVTMQfpux61PDycd8udczd1b8euOMwIfyyaIT\nby+JRH03KeQmMOZW+FOpu1i4ixLPrkHfOwIxAOjSx05CZhqUpgZm7M1sAtL4\nxzD7m/tGEmzr5ZwcFFOnYj7enqVGNFOqKTybQkxLHvWIl6FfE0tuS5g6oiXA\nNbpIDUQiSDw+3nN0GdH/XC9cxG46n883hQxZwOExf4K8Ztvn+bE0qmXxJKcQ\nYb8iAcob70leXTq0laiA5OzbVXtpH6hIwwoifAndHz8MyUnd3KkIHQ8hje72\n0MAA\r\n=WSB2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZazMbEZqTLPjYQhO7k7QKiCh1oJAEXB0NIpOW+SZJhwIhAMlNTX7rqtWNyWu/GqQekXHF2v+wODuSqgz1/UgSoKUB"}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_1.3.2_1552685598472_0.19746336154855482"},"_hasShrinkwrap":false},"1.4.0":{"name":"http-status-codes","version":"1.4.0","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","typings":"index.d.ts","gitHead":"32a4c30c557e8e820e321c25b701f35e9fc22eb6","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@1.4.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-JrT3ua+WgH8zBD3HEJYbeEgnuQaAnUeRRko/YojPAJjGmIfGD3KPU/asLdsLwKjfxOmQe5nXMQ0pt/7MyapVbQ==","shasum":"6e4c15d16ff3a9e2df03b89f3a55e1aae05fb477","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-1.4.0.tgz","fileCount":5,"unpackedSize":28367,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdtbkcCRA9TVsSAnZWagAAv4kQAJEdWzPpbUYDV9gYM0Lr\nVOgdIevB4wf3uVniX58m5aOYgiFp3JltPT3aRMGWmvwnM2IVHWoYhhRg8W2J\n/I67KMbag1j5ZToCRnNmxhChK4BG2DhqrrBT2flF8tOGFfVZXU+qqTPwCQHU\nn2cb+1/Tplea1NtA8ffE5MwF0cBsXyqXWiTMTzRptJruTl71ZNfCoAW2tifU\nnlOB4bj8ChxKJZ463novREuLW4aXFg611BUuFMWhUmsDNrKW2UtOSdKaVn2l\n7qUn6Nhcgu/LpiDDv8KtSBABBBzsRSyra/0oyQO3lSRzhBV4Yv64a8AOseZb\nZinEBAIaORBeshBtww12a+4kG2UPOqO/kqv5RrWHupDaOqmlVa4wSCsjxX0L\n+tEwihw35tSjLOBBkQGAi5udZioDiHu8UrOZWSpaitA35QMqFYh0c5ERmO6K\nEuD52woYT4X5/FvrNU8+LZAZTPxtPEHCuBCmVjBqb85i0S32FOyZbAznPXxU\nfUmrcczcJnLGb7xYIrDp0c5DdH10VPgoT/Dev1PWagBwXJ1dN8kN50P1CHaj\nbCkrgm2C0unROEt3mkIMtM/FPCZfvq7kdyMYbQ+2HJaPZVM+Ct0RyXYwQfap\nUbJ17i4/MgOo6zYGvOSYXu76UDXtWIAhRBeJ+6v6YacqgmeAn5TRGOtjpXTp\nAdM5\r\n=7tze\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDn1leVP45maHqrI5dV2rkHCqSAH5omiNPeD8TfL7QLPQIhAOZvnQzZf1RItVmf4Y3wznqLwp9CUl+2XKfdzwOodJkc"}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_1.4.0_1572190492314_0.47938048416292434"},"_hasShrinkwrap":false},"2.0.0-beta.0":{"name":"http-status-codes","version":"2.0.0-beta.0","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build-ts":"tsc --project tsconfig-build.json","build":"npm run build-ts","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./build/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","typescript":"^3.9.7"},"readme":"# http-status-codes\n\nConstants enumerating the HTTP status codes. Based on the [Java Apache HttpStatus API](http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpStatus.html).\n\nAll status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), RFC2518 (WebDAV), RFC6585 (Additional HTTP Status Codes), and RFC7538 (Permanent Redirect) are supported.\n\nTypeScript or JavaScript. Completely library agnostic. No dependencies.\n\n## Installation\n\n```console\nnpm install http-status-codes --save\n```\n\n## Usage (express 4.x)\n\n```javascript\nimport { StatusCodes, ReasonPhrases, getReasonPhrase, getStatusCode } from 'http-status-codes';\n\nresponse\n\t.status(StatusCodes.OK)\n\t.send(ReasonPhrases.OK);\n\nresponse\n\t.status(StatusCodes.INTERNAL_SERVER_ERROR)\n\t.send({\n\t\terror: getReasonPhrase(StatusCodes.INTERNAL_SERVER_ERROR)\n\t});\n\nresponse\n\t.status(getStatusCode('Internal Server Error'))\n\t.send({\n\t\terror: 'Internal Server Error'\n\t});\n```\n\n## Codes \n\n| Code | Constant                        | Reason Phrase                   |\n| ---- | ------------------------------- | ------------------------------- |\n| 100  | CONTINUE                        | Continue                        |\n| 101  | SWITCHING_PROTOCOLS             | Switching Protocols             |\n| 102  | PROCESSING                      | Processing                      |\n| 200  | OK                              | OK                              |\n| 201  | CREATED                         | Created                         |\n| 202  | ACCEPTED                        | Accepted                        |\n| 203  | NON_AUTHORITATIVE_INFORMATION   | Non Authoritative Information   |\n| 204  | NO_CONTENT                      | No Content                      |\n| 205  | RESET_CONTENT                   | Reset Content                   |\n| 206  | PARTIAL_CONTENT                 | Partial Content                 |\n| 207  | MULTI_STATUS                    | Multi-Status                    |\n| 300  | MULTIPLE_CHOICES                | Multiple Choices                |\n| 301  | MOVED_PERMANENTLY               | Moved Permanently               |\n| 302  | MOVED_TEMPORARILY               | Moved Temporarily               |\n| 303  | SEE_OTHER                       | See Other                       |\n| 304  | NOT_MODIFIED                    | Not Modified                    |\n| 305  | USE_PROXY                       | Use Proxy                       |\n| 307  | TEMPORARY_REDIRECT              | Temporary Redirect              |\n| 308  | PERMANENT_REDIRECT              | Permanent Redirect              |\n| 400  | BAD_REQUEST                     | Bad Request                     |\n| 401  | UNAUTHORIZED                    | Unauthorized                    |\n| 402  | PAYMENT_REQUIRED                | Payment Required                |\n| 403  | FORBIDDEN                       | Forbidden                       |\n| 404  | NOT_FOUND                       | Not Found                       |\n| 405  | METHOD_NOT_ALLOWED              | Method Not Allowed              |\n| 406  | NOT_ACCEPTABLE                  | Not Acceptable                  |\n| 407  | PROXY_AUTHENTICATION_REQUIRED   | Proxy Authentication Required   |\n| 408  | REQUEST_TIMEOUT                 | Request Timeout                 |\n| 409  | CONFLICT                        | Conflict                        |\n| 410  | GONE                            | Gone                            |\n| 411  | LENGTH_REQUIRED                 | Length Required                 |\n| 412  | PRECONDITION_FAILED             | Precondition Failed             |\n| 413  | REQUEST_TOO_LONG                | Request Entity Too Large        |\n| 414  | REQUEST_URI_TOO_LONG            | Request-URI Too Long            |\n| 415  | UNSUPPORTED_MEDIA_TYPE          | Unsupported Media Type          |\n| 416  | REQUESTED_RANGE_NOT_SATISFIABLE | Requested Range Not Satisfiable |\n| 417  | EXPECTATION_FAILED              | Expectation Failed              |\n| 418  | IM_A_TEAPOT                     | I'm a teapot                    |\n| 419  | INSUFFICIENT_SPACE_ON_RESOURCE  | Insufficient Space on Resource  |\n| 420  | METHOD_FAILURE                  | Method Failure                  |\n| 422  | UNPROCESSABLE_ENTITY            | Unprocessable Entity            |\n| 423  | LOCKED                          | Locked                          |\n| 424  | FAILED_DEPENDENCY               | Failed Dependency               |\n| 428  | PRECONDITION_REQUIRED           | Precondition Required           |\n| 429  | TOO_MANY_REQUESTS               | Too Many Requests               |\n| 431  | REQUEST_HEADER_FIELDS_TOO_LARGE | Request Header Fields Too Large |\n| 500  | INTERNAL_SERVER_ERROR           | Server Error                    |\n| 501  | NOT_IMPLEMENTED                 | Not Implemented                 |\n| 502  | BAD_GATEWAY                     | Bad Gateway                     |\n| 503  | SERVICE_UNAVAILABLE             | Service Unavailable             |\n| 504  | GATEWAY_TIMEOUT                 | Gateway Timeout                 |\n| 505  | HTTP_VERSION_NOT_SUPPORTED      | HTTP Version Not Supported      |\n| 507  | INSUFFICIENT_STORAGE            | Insufficient Storage            |\n| 511  | NETWORK_AUTHENTICATION_REQUIRED | Network Authentication Required |\n\n## Migrating from v1.x.x\n\nv2 is backwards compatible with v1, but if you are migrating from http-status-codes v1 to v2, there are a couple of changes that are recommended.\n\n### getStatusText renamed getReasonPhrase\n\nTo fix this, simply rename `getStatusText()` to `getReasonPhrase()`. The function is otherwise the same as it was before.\n\n**bad** ❌\n\n```\ngetStatusText(200);\n```\n\n**good** ✅\n\n```\ngetReasonPhrase(200);\n```\n\n### No wildcard imports\nWe're moving away from wildcard imports in favor of selective imports.\n\n**bad** ❌\n\n```typescript\nimport * as HttpStatus from 'http-status-codes';\n```\n\n**good** ✅\n\n```typescript\nimport { StatusCodes } from 'http-status-codes';\n\n```\nThese changes are __optional__ now, but may be required in a future major version so please consider making them now.\n\n\n## Proposing a new status code\n\nIf you'd like to propose a new status code, feel free to update \"codes.json\" with the necessary\ninformation and open a pull request. No need to modify source code or even this README.\nThe update-codes script will handle this all for you.\n\nIn general, we try to include only codes that have an official RFC and have been approved, however\nexceptions will be made if the code is already in widespread use in the wild.\n\n## Steps to build and publish\n\n```shell\nnpm run update-codes\nnpm run test\nnpm run build\nnpm version [major | minor | patch]\nnpm run publish\n```\n","readmeFilename":"README.md","gitHead":"d79350016f71b6b4820b2c4b7037ce157d2c175c","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@2.0.0-beta.0","_nodeVersion":"13.14.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-9EEVtPtt4g4mSJ791A031c5vmD4q16nIWmYBo772XNzR9An4Nx6jWCZhUWmFZJ7Tck9SZr2aV/fmgHfpX6hjqA==","shasum":"223728a6b81ce63ab9050943bccfd213d993bc0b","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.0.0-beta.0.tgz","fileCount":17,"unpackedSize":100910,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQXJCCRA9TVsSAnZWagAAMfIP/j22nKBwhm1kYamD1aoV\nyBihUgnuJtHhJ8VBiWFnpPmF1sTnt6SNXXfInyeZJM/mML45zBBMuBr0SkiN\nQ7C+paIydLFNPldRDfW1qufne8pIdTeL5KFQJQxiW6BK5ydXP2zkmffdBmXY\nlhhSps0BBfUrqNmSyUr2Y3x/uUOWIL7KxFkFpHhzEK9mNCSOQDu7kJeZt323\nozw/JPM82kg6mtSNQg94eAxO7FEyz+hxw+DuYFl31ypRw895c3LQsvpBUWs3\n7rRCs3+ttSo5hsLG/dlxsw2d0MJp5YwhajTyTPjdMX9ZBT25yx3HJKPHsYNI\nd+sMHblWwJ7yr1/C5AWjnkInH1ubdkrOWWAXg3v9G5fiz2sw9lYsTyL08jqb\nKXsUDznmry5EbssOiDb6veDT5y1+MHttme8FKHT77AmX5yRwb04rImQKpCFx\nbWc9+hAiAcfMG1AlLWgtfAKR9KqBySd38HUEI1W74SbwbB60iMF5K//AaHVN\nVUqnHF7WgbEM2EoEX7TifZT6DM8HsX7YZSmcVDbjP/w0JwSjbY65K4cBSvoR\nkjtEAB5S8WSx6v9SiGHcjYteb7UrLAjdoAWByspBd0ThBT2doSwktFJ6EdGu\ndydZqjf/rFCT8vG5VDeS6Utn0DGdygrVty57caon6jesgylkPjjjPPnWJX1O\neRou\r\n=Usdw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBqReWjdkU7bYO4K1k32ALy98Dbiuv09ZPtAiJJIEuRZAiAJBb7A5ojqGPA0rN8iPLJi6J3AutiGTVbLjlMYv4D12w=="}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.0.0-beta.0_1598124610405_0.8268244056832699"},"_hasShrinkwrap":false},"2.0.0-beta.1":{"name":"http-status-codes","version":"2.0.0-beta.1","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build-ts":"tsc --project tsconfig-build.json","build":"npm run build-ts","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./build/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","typescript":"^3.9.7"},"readme":"# http-status-codes\n\nConstants enumerating the HTTP status codes. Based on the [Java Apache HttpStatus API](http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpStatus.html).\n\nAll status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), RFC2518 (WebDAV), RFC6585 (Additional HTTP Status Codes), and RFC7538 (Permanent Redirect) are supported.\n\nTypeScript or JavaScript. Completely library agnostic. No dependencies.\n\n## Installation\n\n```console\nnpm install http-status-codes --save\n```\n\n## Usage (express 4.x)\n\n```javascript\nimport { StatusCodes, ReasonPhrases, getReasonPhrase, getStatusCode } from 'http-status-codes';\n\nresponse\n\t.status(StatusCodes.OK)\n\t.send(ReasonPhrases.OK);\n\nresponse\n\t.status(StatusCodes.INTERNAL_SERVER_ERROR)\n\t.send({\n\t\terror: getReasonPhrase(StatusCodes.INTERNAL_SERVER_ERROR)\n\t});\n\nresponse\n\t.status(getStatusCode('Internal Server Error'))\n\t.send({\n\t\terror: 'Internal Server Error'\n\t});\n```\n\n## Codes \n\n| Code | Constant                        | Reason Phrase                   |\n| ---- | ------------------------------- | ------------------------------- |\n| 100  | CONTINUE                        | Continue                        |\n| 101  | SWITCHING_PROTOCOLS             | Switching Protocols             |\n| 102  | PROCESSING                      | Processing                      |\n| 200  | OK                              | OK                              |\n| 201  | CREATED                         | Created                         |\n| 202  | ACCEPTED                        | Accepted                        |\n| 203  | NON_AUTHORITATIVE_INFORMATION   | Non Authoritative Information   |\n| 204  | NO_CONTENT                      | No Content                      |\n| 205  | RESET_CONTENT                   | Reset Content                   |\n| 206  | PARTIAL_CONTENT                 | Partial Content                 |\n| 207  | MULTI_STATUS                    | Multi-Status                    |\n| 300  | MULTIPLE_CHOICES                | Multiple Choices                |\n| 301  | MOVED_PERMANENTLY               | Moved Permanently               |\n| 302  | MOVED_TEMPORARILY               | Moved Temporarily               |\n| 303  | SEE_OTHER                       | See Other                       |\n| 304  | NOT_MODIFIED                    | Not Modified                    |\n| 305  | USE_PROXY                       | Use Proxy                       |\n| 307  | TEMPORARY_REDIRECT              | Temporary Redirect              |\n| 308  | PERMANENT_REDIRECT              | Permanent Redirect              |\n| 400  | BAD_REQUEST                     | Bad Request                     |\n| 401  | UNAUTHORIZED                    | Unauthorized                    |\n| 402  | PAYMENT_REQUIRED                | Payment Required                |\n| 403  | FORBIDDEN                       | Forbidden                       |\n| 404  | NOT_FOUND                       | Not Found                       |\n| 405  | METHOD_NOT_ALLOWED              | Method Not Allowed              |\n| 406  | NOT_ACCEPTABLE                  | Not Acceptable                  |\n| 407  | PROXY_AUTHENTICATION_REQUIRED   | Proxy Authentication Required   |\n| 408  | REQUEST_TIMEOUT                 | Request Timeout                 |\n| 409  | CONFLICT                        | Conflict                        |\n| 410  | GONE                            | Gone                            |\n| 411  | LENGTH_REQUIRED                 | Length Required                 |\n| 412  | PRECONDITION_FAILED             | Precondition Failed             |\n| 413  | REQUEST_TOO_LONG                | Request Entity Too Large        |\n| 414  | REQUEST_URI_TOO_LONG            | Request-URI Too Long            |\n| 415  | UNSUPPORTED_MEDIA_TYPE          | Unsupported Media Type          |\n| 416  | REQUESTED_RANGE_NOT_SATISFIABLE | Requested Range Not Satisfiable |\n| 417  | EXPECTATION_FAILED              | Expectation Failed              |\n| 418  | IM_A_TEAPOT                     | I'm a teapot                    |\n| 419  | INSUFFICIENT_SPACE_ON_RESOURCE  | Insufficient Space on Resource  |\n| 420  | METHOD_FAILURE                  | Method Failure                  |\n| 422  | UNPROCESSABLE_ENTITY            | Unprocessable Entity            |\n| 423  | LOCKED                          | Locked                          |\n| 424  | FAILED_DEPENDENCY               | Failed Dependency               |\n| 428  | PRECONDITION_REQUIRED           | Precondition Required           |\n| 429  | TOO_MANY_REQUESTS               | Too Many Requests               |\n| 431  | REQUEST_HEADER_FIELDS_TOO_LARGE | Request Header Fields Too Large |\n| 500  | INTERNAL_SERVER_ERROR           | Server Error                    |\n| 501  | NOT_IMPLEMENTED                 | Not Implemented                 |\n| 502  | BAD_GATEWAY                     | Bad Gateway                     |\n| 503  | SERVICE_UNAVAILABLE             | Service Unavailable             |\n| 504  | GATEWAY_TIMEOUT                 | Gateway Timeout                 |\n| 505  | HTTP_VERSION_NOT_SUPPORTED      | HTTP Version Not Supported      |\n| 507  | INSUFFICIENT_STORAGE            | Insufficient Storage            |\n| 511  | NETWORK_AUTHENTICATION_REQUIRED | Network Authentication Required |\n\n## Migrating from v1.x.x\n\nv2 is backwards compatible with v1, but if you are migrating from http-status-codes v1 to v2, there are a couple of changes that are recommended.\n\n### getStatusText renamed getReasonPhrase\n\nTo fix this, simply rename `getStatusText()` to `getReasonPhrase()`. The function is otherwise the same as it was before.\n\n**bad** ❌\n\n```\ngetStatusText(200);\n```\n\n**good** ✅\n\n```\ngetReasonPhrase(200);\n```\n\n### No wildcard imports\nWe're moving away from wildcard imports in favor of selective imports.\n\n**bad** ❌\n\n```typescript\nimport * as HttpStatus from 'http-status-codes';\n```\n\n**good** ✅\n\n```typescript\nimport { StatusCodes } from 'http-status-codes';\n\n```\nThese changes are __optional__ now, but may be required in a future major version so please consider making them now.\n\n\n## Proposing a new status code\n\nIf you'd like to propose a new status code, feel free to update \"codes.json\" with the necessary\ninformation and open a pull request. No need to modify source code or even this README.\nThe update-codes script will handle this all for you.\n\nIn general, we try to include only codes that have an official RFC and have been approved, however\nexceptions will be made if the code is already in widespread use in the wild.\n\n## Steps to build and publish\n\n```shell\nnpm run update-codes\nnpm run test\nnpm run build\nnpm version [major | minor | patch]\nnpm run publish\n```\n","readmeFilename":"README.md","gitHead":"d79350016f71b6b4820b2c4b7037ce157d2c175c","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@2.0.0-beta.1","_nodeVersion":"13.14.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-dIV+3ztKMf9/EKnyUaCAm9DPh6TWivZJ614cOXOZReU5hmCFy6AqwrPFreQ9+YJm9XdroeOobabEDPEHsUvGCQ==","shasum":"8c275e57d4b385e559088d58582c74ae2bb72616","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.0.0-beta.1.tgz","fileCount":5,"unpackedSize":52926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQXTgCRA9TVsSAnZWagAABVIP/3yWq+qvsTlE6IFrp0eL\nzBD+pKqI/8MFMeCOzJM01leBI0Lg7MSXVT0c7VfsiPSl2hFx+PsAy2X6Y7QU\n+M3WiFLkz9mNNQITbCeNbxsAdPdz15bhYhx3yIPp4r6ah6rrrKFMoutMmDm/\naLw0kOnH98u3nuOKvCsdPfHWFyGCm8Cr9lJ9OGW8lGqeMpDqvUnnGbQ6srYa\nCnWRQCZry77teZsbT377Q097lo+c1xD+cLduJdJTYKZ31dLhOAIRch9Rt+ll\nsZfGU7KUelHao5nEGJHp1wPuQLsDgDbgr5x5e3VsuT0HL84z3tPHY4CwWpy0\nKwE1XE8B033lTg+OhAITwPSaOgk+543iNqaL+y+elq/qYvaQApQYJDjgpb4A\n+vAQ+bwXU3NVQuEd5Ik6NSO/QXomRu4zLGsLR0RfXRarLY9ii3oaqQo84vAf\n4IThjoe9RhyysfJNGjWqqgSSEZ9g7yCx8+/v808AH3USv/oIu2matXFbCHPN\n3PDvXmlIl2Jj+vKu1W5pK1oakIAGnij88JlsvZn3n8+yG8R1fh3vwQyqe4AZ\neNckq2HnCs5G1ruRXhRdado1aPv34sjZUEK2r52AScrVANo02fkXXE+dzh0m\nciixVsXG1qC3OTHcLEbJwocOaZhW4XGc8ipuza3S1bPYkXxkfrOfoBxVQ+tm\n/gOQ\r\n=oSTd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbEFbVF3v/4dB9TbO5ZVuJflOfdPDb0z+kvpLA5xyRhQIgLOoXv8kWt6WztaIpcHpUinSBABECJsvKoXAtSaQma6o="}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.0.0-beta.1_1598125279721_0.8440278897374076"},"_hasShrinkwrap":false},"2.0.0-beta.2":{"name":"http-status-codes","version":"2.0.0-beta.2","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build-ts":"tsc --project tsconfig-build.json","build-concat":"ncc build ./build-tmp/index.js -o ./build","build-cleanup":"rm -rf ./build-tmp","build":"npm run build-ts && npm run build-concat && npm run build-cleanup","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./build/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","@vercel/ncc":"^0.23.0","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","typescript":"^3.9.7"},"readme":"# http-status-codes\n\nConstants enumerating the HTTP status codes. Based on the [Java Apache HttpStatus API](http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpStatus.html).\n\nAll status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), RFC2518 (WebDAV), RFC6585 (Additional HTTP Status Codes), and RFC7538 (Permanent Redirect) are supported.\n\nTypeScript or JavaScript. Completely library agnostic. No dependencies.\n\n## Installation\n\n```console\nnpm install http-status-codes --save\n```\n\n## Usage (express 4.x)\n\n```javascript\nimport { StatusCodes, ReasonPhrases, getReasonPhrase, getStatusCode } from 'http-status-codes';\n\nresponse\n\t.status(StatusCodes.OK)\n\t.send(ReasonPhrases.OK);\n\nresponse\n\t.status(StatusCodes.INTERNAL_SERVER_ERROR)\n\t.send({\n\t\terror: getReasonPhrase(StatusCodes.INTERNAL_SERVER_ERROR)\n\t});\n\nresponse\n\t.status(getStatusCode('Internal Server Error'))\n\t.send({\n\t\terror: 'Internal Server Error'\n\t});\n```\n\n## Codes \n\n| Code | Constant                        | Reason Phrase                   |\n| ---- | ------------------------------- | ------------------------------- |\n| 100  | CONTINUE                        | Continue                        |\n| 101  | SWITCHING_PROTOCOLS             | Switching Protocols             |\n| 102  | PROCESSING                      | Processing                      |\n| 200  | OK                              | OK                              |\n| 201  | CREATED                         | Created                         |\n| 202  | ACCEPTED                        | Accepted                        |\n| 203  | NON_AUTHORITATIVE_INFORMATION   | Non Authoritative Information   |\n| 204  | NO_CONTENT                      | No Content                      |\n| 205  | RESET_CONTENT                   | Reset Content                   |\n| 206  | PARTIAL_CONTENT                 | Partial Content                 |\n| 207  | MULTI_STATUS                    | Multi-Status                    |\n| 300  | MULTIPLE_CHOICES                | Multiple Choices                |\n| 301  | MOVED_PERMANENTLY               | Moved Permanently               |\n| 302  | MOVED_TEMPORARILY               | Moved Temporarily               |\n| 303  | SEE_OTHER                       | See Other                       |\n| 304  | NOT_MODIFIED                    | Not Modified                    |\n| 305  | USE_PROXY                       | Use Proxy                       |\n| 307  | TEMPORARY_REDIRECT              | Temporary Redirect              |\n| 308  | PERMANENT_REDIRECT              | Permanent Redirect              |\n| 400  | BAD_REQUEST                     | Bad Request                     |\n| 401  | UNAUTHORIZED                    | Unauthorized                    |\n| 402  | PAYMENT_REQUIRED                | Payment Required                |\n| 403  | FORBIDDEN                       | Forbidden                       |\n| 404  | NOT_FOUND                       | Not Found                       |\n| 405  | METHOD_NOT_ALLOWED              | Method Not Allowed              |\n| 406  | NOT_ACCEPTABLE                  | Not Acceptable                  |\n| 407  | PROXY_AUTHENTICATION_REQUIRED   | Proxy Authentication Required   |\n| 408  | REQUEST_TIMEOUT                 | Request Timeout                 |\n| 409  | CONFLICT                        | Conflict                        |\n| 410  | GONE                            | Gone                            |\n| 411  | LENGTH_REQUIRED                 | Length Required                 |\n| 412  | PRECONDITION_FAILED             | Precondition Failed             |\n| 413  | REQUEST_TOO_LONG                | Request Entity Too Large        |\n| 414  | REQUEST_URI_TOO_LONG            | Request-URI Too Long            |\n| 415  | UNSUPPORTED_MEDIA_TYPE          | Unsupported Media Type          |\n| 416  | REQUESTED_RANGE_NOT_SATISFIABLE | Requested Range Not Satisfiable |\n| 417  | EXPECTATION_FAILED              | Expectation Failed              |\n| 418  | IM_A_TEAPOT                     | I'm a teapot                    |\n| 419  | INSUFFICIENT_SPACE_ON_RESOURCE  | Insufficient Space on Resource  |\n| 420  | METHOD_FAILURE                  | Method Failure                  |\n| 422  | UNPROCESSABLE_ENTITY            | Unprocessable Entity            |\n| 423  | LOCKED                          | Locked                          |\n| 424  | FAILED_DEPENDENCY               | Failed Dependency               |\n| 428  | PRECONDITION_REQUIRED           | Precondition Required           |\n| 429  | TOO_MANY_REQUESTS               | Too Many Requests               |\n| 431  | REQUEST_HEADER_FIELDS_TOO_LARGE | Request Header Fields Too Large |\n| 500  | INTERNAL_SERVER_ERROR           | Server Error                    |\n| 501  | NOT_IMPLEMENTED                 | Not Implemented                 |\n| 502  | BAD_GATEWAY                     | Bad Gateway                     |\n| 503  | SERVICE_UNAVAILABLE             | Service Unavailable             |\n| 504  | GATEWAY_TIMEOUT                 | Gateway Timeout                 |\n| 505  | HTTP_VERSION_NOT_SUPPORTED      | HTTP Version Not Supported      |\n| 507  | INSUFFICIENT_STORAGE            | Insufficient Storage            |\n| 511  | NETWORK_AUTHENTICATION_REQUIRED | Network Authentication Required |\n\n## Migrating from v1.x.x\n\nv2 is backwards compatible with v1, but if you are migrating from http-status-codes v1 to v2, there are a couple of changes that are recommended.\n\n### getStatusText renamed getReasonPhrase\n\nTo fix this, simply rename `getStatusText()` to `getReasonPhrase()`. The function is otherwise the same as it was before.\n\n**bad** ❌\n\n```\ngetStatusText(200);\n```\n\n**good** ✅\n\n```\ngetReasonPhrase(200);\n```\n\n### No wildcard imports\nWe're moving away from wildcard imports in favor of selective imports.\n\n**bad** ❌\n\n```typescript\nimport * as HttpStatus from 'http-status-codes';\n```\n\n**good** ✅\n\n```typescript\nimport { StatusCodes } from 'http-status-codes';\n\n```\nThese changes are __optional__ now, but may be required in a future major version so please consider making them now.\n\n\n## Proposing a new status code\n\nIf you'd like to propose a new status code, feel free to update \"codes.json\" with the necessary\ninformation and open a pull request. No need to modify source code or even this README.\nThe update-codes script will handle this all for you.\n\nIn general, we try to include only codes that have an official RFC and have been approved, however\nexceptions will be made if the code is already in widespread use in the wild.\n\n## Steps to build and publish\n\n```shell\nnpm run update-codes\nnpm run test\nnpm run build\nnpm version [major | minor | patch]\nnpm run publish\n```\n","readmeFilename":"README.md","gitHead":"716a4777d1bd4f24b80006e757361e6a3ab03afb","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@2.0.0-beta.2","_nodeVersion":"13.14.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-Ea6kp2EDNUtrsMLFEL2lDLRhWv9V3Dj6DKVE4Kdac9/D7teDIiwb4US17EqIY0/s1tdnjv7lV0Gdc3XtuVU0Hw==","shasum":"bb90b590863e70e478455d7422249fd76c994d38","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.0.0-beta.2.tgz","fileCount":4,"unpackedSize":55487,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQXr0CRA9TVsSAnZWagAAF2UP/RAizbf3TIFpOA0kG2Jc\n0j5VK6LM8nNaINvYrC8UYFgWAHAwl89gWN2mqUVNtHs8+Ovr/QtPfnoDF1rc\nDXXP9ui/foFtbYPaKYmTJY9gTYG1IY2rv0FMOGl5oHOEzkDYEAAijgaW9M+C\nOYXt6hZCOG8tQ8KrlEL/IWqeY38ckE4k9FnpeEuZd1SajiMyObewDF4mVTby\nZ2VdRBaZVE7SXp3qZcUwPPiBBqUexOr4wCm/eExBINSq+xf2xqyF1LzLmTS8\nvszMqe+MspIMg0wC8gSDFvm/n4hO1rJUYItZwwhOUDfjvKgeO3z1aHuENext\nC/xm+J/M7djIz09JDM3eZIpWhEJoqYDYScnD+AaCJFn7MasYuD8OaBXLblNg\nplJEMrRRrdQZcWjhovApXQtN+QCrZuLFekniODnvVoX0x6F6GNkPro+Ex15z\nS4707x6LobSXRCexasahP3ZW8BjgHyrpVJQcZX+5pNmPFm0khDC4hjILVlkO\n3OQE0n0GZtjaD+2Z0tFEb7iBWLOK2LrAAEiGMadavw82oIIVpzypYBmMb+eN\nDEBSy74Y2Pp2eG1CybXKs9+5WQk1HQLrlaB5x9wFj6jvIz9U2cUsmKeepFKG\nnIqKcc+xmaoj4fd/9g/yHPOrbvc3wK2pgMrsSLuzrSc/PxEGMpbT8ha8oudK\np7VI\r\n=t1C6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHdcgywln9Gj8cLCZc02Q1K0iZLjvFgis/mSFu6kx0oQIhAMX3OcuYNtrhLqK96z1gUKs+7y9QXeoC+//4Q6iBJPvg"}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.0.0-beta.2_1598126836261_0.784860396597012"},"_hasShrinkwrap":false},"2.0.0-beta.3":{"name":"http-status-codes","version":"2.0.0-beta.3","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build-ts":"tsc --project tsconfig-build.json","build-concat":"ncc build ./build-tmp/index.js -o ./build","build-cleanup":"rm -rf ./build-tmp","build":"npm run build-ts && npm run build-concat && npm run build-cleanup","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./build/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","@vercel/ncc":"^0.23.0","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","typescript":"^3.9.7"},"readme":"# http-status-codes\n\nConstants enumerating the HTTP status codes. Based on the [Java Apache HttpStatus API](http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpStatus.html).\n\nAll status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), RFC2518 (WebDAV), RFC6585 (Additional HTTP Status Codes), and RFC7538 (Permanent Redirect) are supported.\n\nTypeScript or JavaScript. Completely library agnostic. No dependencies.\n\n## Installation\n\n```console\nnpm install http-status-codes --save\n```\n\n## Usage (express 4.x)\n\n```javascript\nimport { StatusCodes, ReasonPhrases, getReasonPhrase, getStatusCode } from 'http-status-codes';\n\nresponse\n\t.status(StatusCodes.OK)\n\t.send(ReasonPhrases.OK);\n\nresponse\n\t.status(StatusCodes.INTERNAL_SERVER_ERROR)\n\t.send({\n\t\terror: getReasonPhrase(StatusCodes.INTERNAL_SERVER_ERROR)\n\t});\n\nresponse\n\t.status(getStatusCode('Internal Server Error'))\n\t.send({\n\t\terror: 'Internal Server Error'\n\t});\n```\n\n## Codes \n\n| Code | Constant                        | Reason Phrase                   |\n| ---- | ------------------------------- | ------------------------------- |\n| 100  | CONTINUE                        | Continue                        |\n| 101  | SWITCHING_PROTOCOLS             | Switching Protocols             |\n| 102  | PROCESSING                      | Processing                      |\n| 200  | OK                              | OK                              |\n| 201  | CREATED                         | Created                         |\n| 202  | ACCEPTED                        | Accepted                        |\n| 203  | NON_AUTHORITATIVE_INFORMATION   | Non Authoritative Information   |\n| 204  | NO_CONTENT                      | No Content                      |\n| 205  | RESET_CONTENT                   | Reset Content                   |\n| 206  | PARTIAL_CONTENT                 | Partial Content                 |\n| 207  | MULTI_STATUS                    | Multi-Status                    |\n| 300  | MULTIPLE_CHOICES                | Multiple Choices                |\n| 301  | MOVED_PERMANENTLY               | Moved Permanently               |\n| 302  | MOVED_TEMPORARILY               | Moved Temporarily               |\n| 303  | SEE_OTHER                       | See Other                       |\n| 304  | NOT_MODIFIED                    | Not Modified                    |\n| 305  | USE_PROXY                       | Use Proxy                       |\n| 307  | TEMPORARY_REDIRECT              | Temporary Redirect              |\n| 308  | PERMANENT_REDIRECT              | Permanent Redirect              |\n| 400  | BAD_REQUEST                     | Bad Request                     |\n| 401  | UNAUTHORIZED                    | Unauthorized                    |\n| 402  | PAYMENT_REQUIRED                | Payment Required                |\n| 403  | FORBIDDEN                       | Forbidden                       |\n| 404  | NOT_FOUND                       | Not Found                       |\n| 405  | METHOD_NOT_ALLOWED              | Method Not Allowed              |\n| 406  | NOT_ACCEPTABLE                  | Not Acceptable                  |\n| 407  | PROXY_AUTHENTICATION_REQUIRED   | Proxy Authentication Required   |\n| 408  | REQUEST_TIMEOUT                 | Request Timeout                 |\n| 409  | CONFLICT                        | Conflict                        |\n| 410  | GONE                            | Gone                            |\n| 411  | LENGTH_REQUIRED                 | Length Required                 |\n| 412  | PRECONDITION_FAILED             | Precondition Failed             |\n| 413  | REQUEST_TOO_LONG                | Request Entity Too Large        |\n| 414  | REQUEST_URI_TOO_LONG            | Request-URI Too Long            |\n| 415  | UNSUPPORTED_MEDIA_TYPE          | Unsupported Media Type          |\n| 416  | REQUESTED_RANGE_NOT_SATISFIABLE | Requested Range Not Satisfiable |\n| 417  | EXPECTATION_FAILED              | Expectation Failed              |\n| 418  | IM_A_TEAPOT                     | I'm a teapot                    |\n| 419  | INSUFFICIENT_SPACE_ON_RESOURCE  | Insufficient Space on Resource  |\n| 420  | METHOD_FAILURE                  | Method Failure                  |\n| 422  | UNPROCESSABLE_ENTITY            | Unprocessable Entity            |\n| 423  | LOCKED                          | Locked                          |\n| 424  | FAILED_DEPENDENCY               | Failed Dependency               |\n| 428  | PRECONDITION_REQUIRED           | Precondition Required           |\n| 429  | TOO_MANY_REQUESTS               | Too Many Requests               |\n| 431  | REQUEST_HEADER_FIELDS_TOO_LARGE | Request Header Fields Too Large |\n| 500  | INTERNAL_SERVER_ERROR           | Server Error                    |\n| 501  | NOT_IMPLEMENTED                 | Not Implemented                 |\n| 502  | BAD_GATEWAY                     | Bad Gateway                     |\n| 503  | SERVICE_UNAVAILABLE             | Service Unavailable             |\n| 504  | GATEWAY_TIMEOUT                 | Gateway Timeout                 |\n| 505  | HTTP_VERSION_NOT_SUPPORTED      | HTTP Version Not Supported      |\n| 507  | INSUFFICIENT_STORAGE            | Insufficient Storage            |\n| 511  | NETWORK_AUTHENTICATION_REQUIRED | Network Authentication Required |\n\n## Migrating from v1.x.x\n\nv2 is backwards compatible with v1, but if you are migrating from http-status-codes v1 to v2, there are a couple of changes that are recommended.\n\n### getStatusText renamed getReasonPhrase\n\nTo fix this, simply rename `getStatusText()` to `getReasonPhrase()`. The function is otherwise the same as it was before.\n\n**bad** ❌\n\n```\ngetStatusText(200);\n```\n\n**good** ✅\n\n```\ngetReasonPhrase(200);\n```\n\n### No wildcard imports\nWe're moving away from wildcard imports in favor of selective imports.\n\n**bad** ❌\n\n```typescript\nimport * as HttpStatus from 'http-status-codes';\n```\n\n**good** ✅\n\n```typescript\nimport { StatusCodes } from 'http-status-codes';\n\n```\nThese changes are __optional__ now, but may be required in a future major version so please consider making them now.\n\n\n## Proposing a new status code\n\nIf you'd like to propose a new status code, feel free to update \"codes.json\" with the necessary\ninformation and open a pull request. No need to modify source code or even this README.\nThe update-codes script will handle this all for you.\n\nIn general, we try to include only codes that have an official RFC and have been approved, however\nexceptions will be made if the code is already in widespread use in the wild.\n\n## Steps to build and publish\n\n```shell\nnpm run update-codes\nnpm run test\nnpm run build\nnpm version [major | minor | patch]\nnpm run publish\n```\n","readmeFilename":"README.md","gitHead":"1d3ac307e9366547b0fdb615415e8801f9cbd176","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@2.0.0-beta.3","_nodeVersion":"13.14.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-ezah+DHmkt6x2/ipHJokIu4LikdwdD98xpkC/IwJUNuuw/tpRxeXhEtvShUVCWzSTGA/MJON6pad4Pk1sajZIg==","shasum":"862a391b21e9dddad796d6cf38ff084c2dc678fd","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.0.0-beta.3.tgz","fileCount":4,"unpackedSize":56495,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQYrDCRA9TVsSAnZWagAAAVQP/1I4p84Dr66PX6ndT6uN\ncQT3YGOlNoiQMAi3+Ru4sxfxBd9tQzoI1nS0KsFquyq9ldt9srRAzp2WC6od\nOVELdGWu3VkGP/MlUZuM51ppomIoGgDN4lZ84uGb4c4sMVb2W8ok7txcMmI7\nel7zvQ1HXBRz/qLfUEntrb6Im2BHwAl66iVBl9WUFom7V/TIF0BmQ7cZxgSz\nyLOzXyxHFEXov0WLQ8mU3O30lpTNBJ4xJxptXvLttVLMBc0pitPSSu2nxFIu\nXJQGj/RsR1yPY4nyJJ86iSQuv9Gvbh8gHksB2f7zylnio/D/iVCxfp6uifWi\naY4jaPBDjumIUwESOJpzdzkGf7hNPEj455fnSQtvo43WJyj7MRT/FzkwYnGU\ntsfjbOKOl79CJBieddR1RifOdea++yRs+vaJr93rLbDV0J3aEOvJH/BF/QHn\nAomtlc4+XpF2Mnwkz/MvtKb6sMt6k95lMZVNGZxxsnHvRyznWfd9xbfTO8ys\n4ZkRWd9U6RpbdXOWcxwfGpipGMEHlYXmIFLkDe0Y8ijgzPBixLXDPuKU0Mwd\n908oxp6rIoLtaxzQv0JLEhriJdUzCYIMCS7TCWWF2x6Z+bcH0CxYYMbd9CSJ\n/dgXlgKHZk8mJ1n4Vqwjbw6GtByXwyLJGcdFElLyMa3ULtyrgZZ5PJC4IqhH\nw5zD\r\n=XIoE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDv+pMwjEeYxEQTljGkIIMwksrmOeeyLxtyTznfklTcgIhAIxuLvviOh1jqsleLfuc15b2MdsFqQgNaw6VXkFdkJAV"}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.0.0-beta.3_1598130882952_0.3458377885313697"},"_hasShrinkwrap":false},"2.0.0-beta.4":{"name":"http-status-codes","version":"2.0.0-beta.4","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build":"./scripts/build.sh","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./build/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","@vercel/ncc":"^0.23.0","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","typescript":"^3.9.7"},"readme":"# http-status-codes\n\nConstants enumerating the HTTP status codes. Based on the [Java Apache HttpStatus API](http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpStatus.html).\n\nAll status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), RFC2518 (WebDAV), RFC6585 (Additional HTTP Status Codes), and RFC7538 (Permanent Redirect) are supported.\n\nTypeScript or JavaScript. Completely library agnostic. No dependencies.\n\n## Installation\n\n```console\nnpm install http-status-codes --save\n```\n\n## ES6 Modules Usage (express 4.x)\n\n```typescript\nimport { StatusCodes, ReasonPhrases, getReasonPhrase, getStatusCode } from 'http-status-codes';\n\nresponse\n\t.status(StatusCodes.OK)\n\t.send(ReasonPhrases.OK);\n\nresponse\n\t.status(StatusCodes.INTERNAL_SERVER_ERROR)\n\t.send({\n\t\terror: getReasonPhrase(StatusCodes.INTERNAL_SERVER_ERROR)\n\t});\n\nresponse\n\t.status(getStatusCode('Internal Server Error'))\n\t.send({\n\t\terror: 'Internal Server Error'\n\t});\n```\n\n## CommonJS (Node) Usage (express 4.x)\n\n```javascript\nimport HttpStatusCodes from 'http-status-codes';\n\nresponse\n\t.status(HttpStatusCodes.StatusCodes.OK)\n\t.send(HttpStatusCodes.ReasonPhrases.OK);\n\nresponse\n\t.status(HttpStatusCodes.StatusCodes.INTERNAL_SERVER_ERROR)\n\t.send({\n\t\terror: HttpStatusCodes.getReasonPhrase(HttpStatusCodes.StatusCodes.INTERNAL_SERVER_ERROR)\n\t});\n\nresponse\n\t.status(HttpStatusCodes.getStatusCode('Internal Server Error'))\n\t.send({\n\t\terror: 'Internal Server Error'\n\t});\n```\n\n## Codes \n\n| Code | Constant                        | Reason Phrase                   |\n| ---- | ------------------------------- | ------------------------------- |\n| 100  | CONTINUE                        | Continue                        |\n| 101  | SWITCHING_PROTOCOLS             | Switching Protocols             |\n| 102  | PROCESSING                      | Processing                      |\n| 200  | OK                              | OK                              |\n| 201  | CREATED                         | Created                         |\n| 202  | ACCEPTED                        | Accepted                        |\n| 203  | NON_AUTHORITATIVE_INFORMATION   | Non Authoritative Information   |\n| 204  | NO_CONTENT                      | No Content                      |\n| 205  | RESET_CONTENT                   | Reset Content                   |\n| 206  | PARTIAL_CONTENT                 | Partial Content                 |\n| 207  | MULTI_STATUS                    | Multi-Status                    |\n| 300  | MULTIPLE_CHOICES                | Multiple Choices                |\n| 301  | MOVED_PERMANENTLY               | Moved Permanently               |\n| 302  | MOVED_TEMPORARILY               | Moved Temporarily               |\n| 303  | SEE_OTHER                       | See Other                       |\n| 304  | NOT_MODIFIED                    | Not Modified                    |\n| 305  | USE_PROXY                       | Use Proxy                       |\n| 307  | TEMPORARY_REDIRECT              | Temporary Redirect              |\n| 308  | PERMANENT_REDIRECT              | Permanent Redirect              |\n| 400  | BAD_REQUEST                     | Bad Request                     |\n| 401  | UNAUTHORIZED                    | Unauthorized                    |\n| 402  | PAYMENT_REQUIRED                | Payment Required                |\n| 403  | FORBIDDEN                       | Forbidden                       |\n| 404  | NOT_FOUND                       | Not Found                       |\n| 405  | METHOD_NOT_ALLOWED              | Method Not Allowed              |\n| 406  | NOT_ACCEPTABLE                  | Not Acceptable                  |\n| 407  | PROXY_AUTHENTICATION_REQUIRED   | Proxy Authentication Required   |\n| 408  | REQUEST_TIMEOUT                 | Request Timeout                 |\n| 409  | CONFLICT                        | Conflict                        |\n| 410  | GONE                            | Gone                            |\n| 411  | LENGTH_REQUIRED                 | Length Required                 |\n| 412  | PRECONDITION_FAILED             | Precondition Failed             |\n| 413  | REQUEST_TOO_LONG                | Request Entity Too Large        |\n| 414  | REQUEST_URI_TOO_LONG            | Request-URI Too Long            |\n| 415  | UNSUPPORTED_MEDIA_TYPE          | Unsupported Media Type          |\n| 416  | REQUESTED_RANGE_NOT_SATISFIABLE | Requested Range Not Satisfiable |\n| 417  | EXPECTATION_FAILED              | Expectation Failed              |\n| 418  | IM_A_TEAPOT                     | I'm a teapot                    |\n| 419  | INSUFFICIENT_SPACE_ON_RESOURCE  | Insufficient Space on Resource  |\n| 420  | METHOD_FAILURE                  | Method Failure                  |\n| 422  | UNPROCESSABLE_ENTITY            | Unprocessable Entity            |\n| 423  | LOCKED                          | Locked                          |\n| 424  | FAILED_DEPENDENCY               | Failed Dependency               |\n| 428  | PRECONDITION_REQUIRED           | Precondition Required           |\n| 429  | TOO_MANY_REQUESTS               | Too Many Requests               |\n| 431  | REQUEST_HEADER_FIELDS_TOO_LARGE | Request Header Fields Too Large |\n| 500  | INTERNAL_SERVER_ERROR           | Server Error                    |\n| 501  | NOT_IMPLEMENTED                 | Not Implemented                 |\n| 502  | BAD_GATEWAY                     | Bad Gateway                     |\n| 503  | SERVICE_UNAVAILABLE             | Service Unavailable             |\n| 504  | GATEWAY_TIMEOUT                 | Gateway Timeout                 |\n| 505  | HTTP_VERSION_NOT_SUPPORTED      | HTTP Version Not Supported      |\n| 507  | INSUFFICIENT_STORAGE            | Insufficient Storage            |\n| 511  | NETWORK_AUTHENTICATION_REQUIRED | Network Authentication Required |\n\n## Migrating from v1.x.x\n\nhttp-status-codes v2 is mostly backwards compatible with v1, there is a single breaking change and two recommended changes.\n\n### Breaking Change 'Server Error'\n\nThe reason phrase for the status code 500 has been changed from 'Server Error' to 'Internal Server Error'. This is the correct phrase according to RFC7231. If you have code that relies on the result of `getStatusText(500)` or `getReasonPhrase('Server Error')`, then this could affect you.\n\n### Non-breaking change getStatusText renamed getReasonPhrase\n\nThe function getStatusText has been renamed to getReasonPhrase. The old function is still available but may be deprecated in a future version. To fix this, simply rename `getStatusText()` to `getReasonPhrase()`. The function is otherwise the same as it was before.\n\n### Non-breaking change StatusCodes\n\nIn http-status-codes v1, Status Codes were exported directly from the top-level module. i.e. `HttpStatus.OK`. In v2 all Status Codes live under an object called `HttpStatus.StatusCodes`. We made this change to cater to TypeScript users who prefer a dedicated value with an enum type. The previous values are still exported, but we won't continue to update them. Please migrate if you're using the old-style imports.\n\n## Proposing a new status code\n\nIf you'd like to propose a new status code, feel free to update \"codes.json\" with the necessary\ninformation and open a pull request. No need to modify source code or even this README.\nThe update-codes script will handle this all for you.\n\nIn general, we try to include only codes that have an official RFC and have been approved, however\nexceptions will be made if the code is already in widespread use in the wild.\n\n## Steps to build and publish\n\n```shell\nnpm run update-codes\nnpm run test\nnpm run build\nnpm version [major | minor | patch]\nnpm run publish\n```\n","readmeFilename":"README.md","gitHead":"4615c09a43564c1430b599547a81e091ad2bdcc5","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@2.0.0-beta.4","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-QxzNdJpI56LjE1Xvru6Jz2MutCm5eKAK9d1eOhGJ7pP5YwgvsOzKngXasAIfbi5frf4agWEBNyCQv7Sb8584rA==","shasum":"d4b0ce815875fa3d1b246178548683c46dd1f13d","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.0.0-beta.4.tgz","fileCount":5,"unpackedSize":112748,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQqkYCRA9TVsSAnZWagAAbFcP/3aHFamTF+GKQom19S1I\nr2tx0XIoYvKKr5Gb6j/+AHNmOyhFqb5rtnHNiHBly98XYFLV2ylGVq4YI2Mc\nl6aVyhVi881LIUrV0pHOK58APgR2ugZ0WuNGL5GUzPAyrBZwHhNKdn8CVGri\ndpWhWMTAXmIBMze9OXE3qmB+UcrVsI0TzK5w5ucm2e8P/vVWvWLVtz4t7Fzc\n03h7tEb2VccSiujRsGSKgRlptCc14V6UwDzQ2KbiFgn7hw3mRYUBIIZls70p\n/rD9tarYof1lzvAKf1c8pLW+iELqSKh0rSJsPztgSB0t3JsMR+hHws2DBjpS\nT0kENwWHKeNLKbt9BWqdJTUM9qn7qs+FxwxDH5+qlq5zm9Rmfij5+OZI9IU6\nEdrAyV0mll+GPCpsiHVdFPRe0kD/6O7O9F5jVkSYtou/EiohDvw7Cd7PAnDn\n2JGa6tdu6YDmpkOrsAB0u4X9N77iOpA7qLwixie4q70qLO3TJQ0OakDsd6kg\nSlyY42UdGY4ywoxzqT40o9Ig+PDUy+dtbCaNkXOHQM3fT94bhvbRDj3JXaBL\n+u2nIAKabTHACJjkD+4JO/HLZF8O/P/dJZpfpev0ijjX6lxBCT9UVmrK6GAE\ne1Hn7cEDgJrXBaNLqyVxMHFS3gtujVS6J+BTPtAV4QQgLU5MmRYUFPDf+3xD\nnvZj\r\n=nenN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDm0/hDznMuJgplce0KMIgaVR3qMdFd0T/Wq1dw0iXncAIgQ5pqhtM4ksQGbBk7+Fz/zQkJk3j1ehzpy9iT4bHJ8Ck="}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.0.0-beta.4_1598204183568_0.15691405619113863"},"_hasShrinkwrap":false},"2.0.0-beta.5":{"name":"http-status-codes","version":"2.0.0-beta.5","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build":"./scripts/build.sh","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./build/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","@vercel/ncc":"^0.23.0","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","ts-node":"^9.0.0","typescript":"^3.9.7"},"readme":"# http-status-codes\n\nConstants enumerating the HTTP status codes. Based on the [Java Apache HttpStatus API](http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpStatus.html).\n\nAll status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), RFC2518 (WebDAV), RFC6585 (Additional HTTP Status Codes), and RFC7538 (Permanent Redirect) are supported.\n\nTypeScript or JavaScript. Completely library agnostic. No dependencies.\n\n## Installation\n\n```console\nnpm install http-status-codes --save\n```\n\n## ES6 Modules Usage (express 4.x)\n\n```typescript\nimport { StatusCodes, ReasonPhrases, getReasonPhrase, getStatusCode } from 'http-status-codes';\n\nresponse\n\t.status(StatusCodes.OK)\n\t.send(ReasonPhrases.OK);\n\nresponse\n\t.status(StatusCodes.INTERNAL_SERVER_ERROR)\n\t.send({\n\t\terror: getReasonPhrase(StatusCodes.INTERNAL_SERVER_ERROR)\n\t});\n\nresponse\n\t.status(getStatusCode('Internal Server Error'))\n\t.send({\n\t\terror: 'Internal Server Error'\n\t});\n```\n\n## CommonJS (Node) Usage (express 4.x)\n\n```javascript\nimport HttpStatusCodes from 'http-status-codes';\n\nresponse\n\t.status(HttpStatusCodes.StatusCodes.OK)\n\t.send(HttpStatusCodes.ReasonPhrases.OK);\n\nresponse\n\t.status(HttpStatusCodes.StatusCodes.INTERNAL_SERVER_ERROR)\n\t.send({\n\t\terror: HttpStatusCodes.getReasonPhrase(HttpStatusCodes.StatusCodes.INTERNAL_SERVER_ERROR)\n\t});\n\nresponse\n\t.status(HttpStatusCodes.getStatusCode('Internal Server Error'))\n\t.send({\n\t\terror: 'Internal Server Error'\n\t});\n```\n\n## Codes \n\n| Code | Constant                        | Reason Phrase                   |\n| ---- | ------------------------------- | ------------------------------- |\n| 100  | CONTINUE                        | Continue                        |\n| 101  | SWITCHING_PROTOCOLS             | Switching Protocols             |\n| 102  | PROCESSING                      | Processing                      |\n| 200  | OK                              | OK                              |\n| 201  | CREATED                         | Created                         |\n| 202  | ACCEPTED                        | Accepted                        |\n| 203  | NON_AUTHORITATIVE_INFORMATION   | Non Authoritative Information   |\n| 204  | NO_CONTENT                      | No Content                      |\n| 205  | RESET_CONTENT                   | Reset Content                   |\n| 206  | PARTIAL_CONTENT                 | Partial Content                 |\n| 207  | MULTI_STATUS                    | Multi-Status                    |\n| 300  | MULTIPLE_CHOICES                | Multiple Choices                |\n| 301  | MOVED_PERMANENTLY               | Moved Permanently               |\n| 302  | MOVED_TEMPORARILY               | Moved Temporarily               |\n| 303  | SEE_OTHER                       | See Other                       |\n| 304  | NOT_MODIFIED                    | Not Modified                    |\n| 305  | USE_PROXY                       | Use Proxy                       |\n| 307  | TEMPORARY_REDIRECT              | Temporary Redirect              |\n| 308  | PERMANENT_REDIRECT              | Permanent Redirect              |\n| 400  | BAD_REQUEST                     | Bad Request                     |\n| 401  | UNAUTHORIZED                    | Unauthorized                    |\n| 402  | PAYMENT_REQUIRED                | Payment Required                |\n| 403  | FORBIDDEN                       | Forbidden                       |\n| 404  | NOT_FOUND                       | Not Found                       |\n| 405  | METHOD_NOT_ALLOWED              | Method Not Allowed              |\n| 406  | NOT_ACCEPTABLE                  | Not Acceptable                  |\n| 407  | PROXY_AUTHENTICATION_REQUIRED   | Proxy Authentication Required   |\n| 408  | REQUEST_TIMEOUT                 | Request Timeout                 |\n| 409  | CONFLICT                        | Conflict                        |\n| 410  | GONE                            | Gone                            |\n| 411  | LENGTH_REQUIRED                 | Length Required                 |\n| 412  | PRECONDITION_FAILED             | Precondition Failed             |\n| 413  | REQUEST_TOO_LONG                | Request Entity Too Large        |\n| 414  | REQUEST_URI_TOO_LONG            | Request-URI Too Long            |\n| 415  | UNSUPPORTED_MEDIA_TYPE          | Unsupported Media Type          |\n| 416  | REQUESTED_RANGE_NOT_SATISFIABLE | Requested Range Not Satisfiable |\n| 417  | EXPECTATION_FAILED              | Expectation Failed              |\n| 418  | IM_A_TEAPOT                     | I'm a teapot                    |\n| 419  | INSUFFICIENT_SPACE_ON_RESOURCE  | Insufficient Space on Resource  |\n| 420  | METHOD_FAILURE                  | Method Failure                  |\n| 422  | UNPROCESSABLE_ENTITY            | Unprocessable Entity            |\n| 423  | LOCKED                          | Locked                          |\n| 424  | FAILED_DEPENDENCY               | Failed Dependency               |\n| 428  | PRECONDITION_REQUIRED           | Precondition Required           |\n| 429  | TOO_MANY_REQUESTS               | Too Many Requests               |\n| 431  | REQUEST_HEADER_FIELDS_TOO_LARGE | Request Header Fields Too Large |\n| 500  | INTERNAL_SERVER_ERROR           | Server Error                    |\n| 501  | NOT_IMPLEMENTED                 | Not Implemented                 |\n| 502  | BAD_GATEWAY                     | Bad Gateway                     |\n| 503  | SERVICE_UNAVAILABLE             | Service Unavailable             |\n| 504  | GATEWAY_TIMEOUT                 | Gateway Timeout                 |\n| 505  | HTTP_VERSION_NOT_SUPPORTED      | HTTP Version Not Supported      |\n| 507  | INSUFFICIENT_STORAGE            | Insufficient Storage            |\n| 511  | NETWORK_AUTHENTICATION_REQUIRED | Network Authentication Required |\n\n## Migrating from v1.x.x\n\nhttp-status-codes v2 is mostly backwards compatible with v1, there is a single breaking change and two recommended changes.\n\n### Breaking Change 'Server Error'\n\nThe reason phrase for the status code 500 has been changed from 'Server Error' to 'Internal Server Error'. This is the correct phrase according to RFC7231. If you have code that relies on the result of `getStatusText(500)` or `getReasonPhrase('Server Error')`, then this could affect you.\n\n### Non-breaking change getStatusText renamed getReasonPhrase\n\nThe function getStatusText has been renamed to getReasonPhrase. The old function is still available but may be deprecated in a future version. To fix this, simply rename `getStatusText()` to `getReasonPhrase()`. The function is otherwise the same as it was before.\n\n### Non-breaking change StatusCodes\n\nIn http-status-codes v1, Status Codes were exported directly from the top-level module. i.e. `HttpStatus.OK`. In v2 all Status Codes live under an object called `HttpStatus.StatusCodes`. We made this change to cater to TypeScript users who prefer a dedicated value with an enum type. The previous values are still exported, but we won't continue to update them. Please migrate if you're using the old-style imports.\n\n## Proposing a new status code\n\nIf you'd like to propose a new status code, feel free to update \"codes.json\" with the necessary\ninformation and open a pull request. No need to modify source code or even this README.\nThe update-codes script will handle this all for you.\n\nIn general, we try to include only codes that have an official RFC and have been approved, however\nexceptions will be made if the code is already in widespread use in the wild.\n\n## Steps to build and publish\n\n```shell\nnpm run update-codes\nnpm run test\nnpm run build\nnpm version [major | minor | patch]\nnpm run publish\n```\n","readmeFilename":"README.md","gitHead":"eea807637cd2e2c1ef78f37979219071b0423cd3","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@2.0.0-beta.5","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-/uM2a3j44X+5kRhdiLhPedsumxEdP+tVvyynkMlyHuD8T1pH4okQ9CfbXHKdqsUZjXNPJ7TevsW7Z8EGkeyDmQ==","shasum":"697c98b3bb0b22db2c0c01ee9b5e3ef29ace4c21","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.0.0-beta.5.tgz","fileCount":5,"unpackedSize":112773,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQqqKCRA9TVsSAnZWagAAjccP/RXj8rNd+ce7crXheJ2C\nAXn9562DHUtiIKsFi8V+nLKdtMpP2k7zqjfEBV5X8kMZI7G+q9KavcyMulML\n3fsRchNjYc0cnU7Q1HgIzYeke1gF/Ti6N6UMGHiBxOxT7Iw/vgKSgcZrNKyT\nxjTqGX+h41404fRPyIHN5mnvvn0RZOau4kKeFBTW8PROMoXu7rWSyVnrzmKj\n8lwKEd5lL+g9iuOEzcuVuzF4IzZWEnzxjQwH1q/H3QYyGQe7KjF+s7VmAmZB\ns5U0wKuhY88H+otcwpDTiasdFDUZPv+XXlssv0jtIuqEJ8TrBDThqKOZYr2Z\nn7LMiZuCvSHrKnwkZcak2E4FMC6IEGpz1pFYu0oyQGTjZZuvOm0qz77ACyOK\ntt90M0Cz8z1FgEwm++hTDJUvfcS9l8RH+G56hpa9m+Ai2/NMiq4+WRXbUKI3\nexg2NQ+YxkRFCSfW3GOaEZBa3qT2kTJMWOGYhZcosw4a6C5e8HYGE/1kurY/\n1anWI1Vbs4YzCdKcZq2TpkXLz6ZFFhrzaA37hpybBZTyEqpOMknzqGabZTOj\n8YHi9y4a2aPUSKezJJ9xn28npOGa98QJLr5FqiXy+ZEicDeMvFAUvi6YXa49\nNaZwU+XQkw0XWG/Cy7Gdyl+oHpTdQKyUshh0U32914RaL7TfANUkdbrkesT3\nQJhw\r\n=4XRX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHy4xyNKPUiIwfSXsbYSdlJr9erNXlYtJ3mF+hrMdsEWAiBqkSVYCCrXmGQcgph5gyMTtV/9SFrVNPJUAafen5KhNQ=="}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.0.0-beta.5_1598204554449_0.4443775064199502"},"_hasShrinkwrap":false},"2.0.0-beta.6":{"name":"http-status-codes","version":"2.0.0-beta.6","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build":"./scripts/build.sh","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./build/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","@vercel/ncc":"^0.23.0","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","ts-node":"^9.0.0","typescript":"^3.9.7"},"readme":"# http-status-codes\n\nConstants enumerating the HTTP status codes. Based on the [Java Apache HttpStatus API](http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpStatus.html).\n\nAll status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), RFC2518 (WebDAV), RFC6585 (Additional HTTP Status Codes), and RFC7538 (Permanent Redirect) are supported.\n\nTypeScript or JavaScript. Completely library agnostic. No dependencies.\n\n## Installation\n\n```console\nnpm install http-status-codes --save\n```\n\n## ES6 Modules Usage (express 4.x)\n\n```typescript\nimport { StatusCodes, ReasonPhrases, getReasonPhrase, getStatusCode } from 'http-status-codes';\n\nresponse\n\t.status(StatusCodes.OK)\n\t.send(ReasonPhrases.OK);\n\nresponse\n\t.status(StatusCodes.INTERNAL_SERVER_ERROR)\n\t.send({\n\t\terror: getReasonPhrase(StatusCodes.INTERNAL_SERVER_ERROR)\n\t});\n\nresponse\n\t.status(getStatusCode('Internal Server Error'))\n\t.send({\n\t\terror: 'Internal Server Error'\n\t});\n```\n\n## CommonJS (Node) Usage (express 4.x)\n\n```javascript\nimport HttpStatusCodes from 'http-status-codes';\n\nresponse\n\t.status(HttpStatusCodes.StatusCodes.OK)\n\t.send(HttpStatusCodes.ReasonPhrases.OK);\n\nresponse\n\t.status(HttpStatusCodes.StatusCodes.INTERNAL_SERVER_ERROR)\n\t.send({\n\t\terror: HttpStatusCodes.getReasonPhrase(HttpStatusCodes.StatusCodes.INTERNAL_SERVER_ERROR)\n\t});\n\nresponse\n\t.status(HttpStatusCodes.getStatusCode('Internal Server Error'))\n\t.send({\n\t\terror: 'Internal Server Error'\n\t});\n```\n\n## Codes \n\n| Code | Constant                        | Reason Phrase                   |\n| ---- | ------------------------------- | ------------------------------- |\n| 100  | CONTINUE                        | Continue                        |\n| 101  | SWITCHING_PROTOCOLS             | Switching Protocols             |\n| 102  | PROCESSING                      | Processing                      |\n| 200  | OK                              | OK                              |\n| 201  | CREATED                         | Created                         |\n| 202  | ACCEPTED                        | Accepted                        |\n| 203  | NON_AUTHORITATIVE_INFORMATION   | Non Authoritative Information   |\n| 204  | NO_CONTENT                      | No Content                      |\n| 205  | RESET_CONTENT                   | Reset Content                   |\n| 206  | PARTIAL_CONTENT                 | Partial Content                 |\n| 207  | MULTI_STATUS                    | Multi-Status                    |\n| 300  | MULTIPLE_CHOICES                | Multiple Choices                |\n| 301  | MOVED_PERMANENTLY               | Moved Permanently               |\n| 302  | MOVED_TEMPORARILY               | Moved Temporarily               |\n| 303  | SEE_OTHER                       | See Other                       |\n| 304  | NOT_MODIFIED                    | Not Modified                    |\n| 305  | USE_PROXY                       | Use Proxy                       |\n| 307  | TEMPORARY_REDIRECT              | Temporary Redirect              |\n| 308  | PERMANENT_REDIRECT              | Permanent Redirect              |\n| 400  | BAD_REQUEST                     | Bad Request                     |\n| 401  | UNAUTHORIZED                    | Unauthorized                    |\n| 402  | PAYMENT_REQUIRED                | Payment Required                |\n| 403  | FORBIDDEN                       | Forbidden                       |\n| 404  | NOT_FOUND                       | Not Found                       |\n| 405  | METHOD_NOT_ALLOWED              | Method Not Allowed              |\n| 406  | NOT_ACCEPTABLE                  | Not Acceptable                  |\n| 407  | PROXY_AUTHENTICATION_REQUIRED   | Proxy Authentication Required   |\n| 408  | REQUEST_TIMEOUT                 | Request Timeout                 |\n| 409  | CONFLICT                        | Conflict                        |\n| 410  | GONE                            | Gone                            |\n| 411  | LENGTH_REQUIRED                 | Length Required                 |\n| 412  | PRECONDITION_FAILED             | Precondition Failed             |\n| 413  | REQUEST_TOO_LONG                | Request Entity Too Large        |\n| 414  | REQUEST_URI_TOO_LONG            | Request-URI Too Long            |\n| 415  | UNSUPPORTED_MEDIA_TYPE          | Unsupported Media Type          |\n| 416  | REQUESTED_RANGE_NOT_SATISFIABLE | Requested Range Not Satisfiable |\n| 417  | EXPECTATION_FAILED              | Expectation Failed              |\n| 418  | IM_A_TEAPOT                     | I'm a teapot                    |\n| 419  | INSUFFICIENT_SPACE_ON_RESOURCE  | Insufficient Space on Resource  |\n| 420  | METHOD_FAILURE                  | Method Failure                  |\n| 422  | UNPROCESSABLE_ENTITY            | Unprocessable Entity            |\n| 423  | LOCKED                          | Locked                          |\n| 424  | FAILED_DEPENDENCY               | Failed Dependency               |\n| 428  | PRECONDITION_REQUIRED           | Precondition Required           |\n| 429  | TOO_MANY_REQUESTS               | Too Many Requests               |\n| 431  | REQUEST_HEADER_FIELDS_TOO_LARGE | Request Header Fields Too Large |\n| 500  | INTERNAL_SERVER_ERROR           | Server Error                    |\n| 501  | NOT_IMPLEMENTED                 | Not Implemented                 |\n| 502  | BAD_GATEWAY                     | Bad Gateway                     |\n| 503  | SERVICE_UNAVAILABLE             | Service Unavailable             |\n| 504  | GATEWAY_TIMEOUT                 | Gateway Timeout                 |\n| 505  | HTTP_VERSION_NOT_SUPPORTED      | HTTP Version Not Supported      |\n| 507  | INSUFFICIENT_STORAGE            | Insufficient Storage            |\n| 511  | NETWORK_AUTHENTICATION_REQUIRED | Network Authentication Required |\n\n## Migrating from v1.x.x\n\nhttp-status-codes v2 is mostly backwards compatible with v1, there is a single breaking change and two recommended changes.\n\n### Breaking Change 'Server Error'\n\nThe reason phrase for the status code 500 has been changed from 'Server Error' to 'Internal Server Error'. This is the correct phrase according to RFC7231. If you have code that relies on the result of `getStatusText(500)` or `getReasonPhrase('Server Error')`, then this could affect you.\n\n### Non-breaking change getStatusText renamed getReasonPhrase\n\nThe function getStatusText has been renamed to getReasonPhrase. The old function is still available but may be deprecated in a future version. To fix this, simply rename `getStatusText()` to `getReasonPhrase()`. The function is otherwise the same as it was before.\n\n### Non-breaking change StatusCodes\n\nIn http-status-codes v1, Status Codes were exported directly from the top-level module. i.e. `HttpStatus.OK`. In v2 all Status Codes live under an object called `HttpStatus.StatusCodes`. We made this change to cater to TypeScript users who prefer a dedicated value with an enum type. The previous values are still exported, but we won't continue to update them. Please migrate if you're using the old-style imports.\n\n## Proposing a new status code\n\nIf you'd like to propose a new status code, feel free to update \"codes.json\" with the necessary\ninformation and open a pull request. No need to modify source code or even this README.\nThe update-codes script will handle this all for you.\n\nIn general, we try to include only codes that have an official RFC and have been approved, however\nexceptions will be made if the code is already in widespread use in the wild.\n\n## Steps to build and publish\n\n```shell\nnpm run update-codes\nnpm run test\nnpm run build\nnpm version [major | minor | patch]\nnpm run publish\n```\n","readmeFilename":"README.md","gitHead":"c0111e4c154946c6dc6c9802ca20ff269fa1821c","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@2.0.0-beta.6","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-MaHo1mVnaJXWy+v6ifxOuIaUugBeXI0RjGkHoNvaxt4CYyXAGtHMv+4u4W/3/td3GmfXpbGUTIbepeiHSmsiQw==","shasum":"a24a39658aa6b118c105982b84c71976b7fd18d8","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.0.0-beta.6.tgz","fileCount":5,"unpackedSize":112921,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQqsSCRA9TVsSAnZWagAAJwcP/jwgxVso0oA83jdFgpNv\n5YMKsFRzuRNdpda9SJ9kECgmO/HRkyjPXxm6ssxKf1WLmRh2RVCEsTprGmiM\nVznOjWDhh0FSs5+Y759L/GL2QoZizIZgUqF7DRkqWV8F3Pzl7cKmZo/gibx6\nGooSvfnEnO+FpipiAOUuquIwMDgz8zO8PgLaxl6U6F4nNf/y+HK5e/U40JX6\nrygxCJJKlChqJeJosdtkcL77hYPhqBWJlBJs1Dx41JyAcGjKUCi5D43Qx7IY\nXuSSwCKsP5eCV1u6FsmSqBvSeEIAWtyi3It1bYjDSUXFadEYwPDcyHIrwrHR\nA8Ij56blaGiNek68/S55ysc0ZxqM1zrB914+fcb/nTvZKht2GbNrcC7XsANx\nJuwNa6jhz8QLksCdhKgu/9QyjKNoQUOHrmtoLzazUOeylsQdYeQE5axLGWrL\nJk+Hz3laEluMdC0C7vlMg5z9ED5RNEkaVyIPuNVRxMoi1xNX+IazEu6370vo\nWa5B20xw0yDkl8X8C5GKot3e6qjGcU4RQRU3k2o1jtcz3p4tcJdHrOZphTiZ\n5rqGEeuyJpkdJQhO7jxlfIW1UAKe4Qz+wT6CbDIYRXjwtrj8J9/dVDRznMB2\nLYks8lCvFFM0x3ecVeyC4zJ/eVm0otPAKzwttKto+CfYh8Zj3wjI6UGDkr25\nwco5\r\n=4/ay\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC410+KGmS0NdfmD2FtkhWRFKUi1Ht9EL1Fz1zj/H5jyQIhAMgeFAottLnXVlkJEmvd+yllmuIRP3advX1Lr4K8f04s"}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.0.0-beta.6_1598204690504_0.9906805605526683"},"_hasShrinkwrap":false},"2.0.0-beta.7":{"name":"http-status-codes","version":"2.0.0-beta.7","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build":"./scripts/build.sh","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./build/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","@vercel/ncc":"^0.23.0","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","ts-node":"^9.0.0","typescript":"^3.9.7"},"readme":"# http-status-codes\n\nConstants enumerating the HTTP status codes. Based on the [Java Apache HttpStatus API](http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpStatus.html).\n\nAll status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), RFC2518 (WebDAV), RFC6585 (Additional HTTP Status Codes), and RFC7538 (Permanent Redirect) are supported.\n\nTypeScript or JavaScript. Completely library agnostic. No dependencies.\n\n## Installation\n\n```console\nnpm install http-status-codes --save\n```\n\n## ES6 Modules Usage (express 4.x)\n\n```typescript\nimport { StatusCodes, ReasonPhrases, getReasonPhrase, getStatusCode } from 'http-status-codes';\n\nresponse\n\t.status(StatusCodes.OK)\n\t.send(ReasonPhrases.OK);\n\nresponse\n\t.status(StatusCodes.INTERNAL_SERVER_ERROR)\n\t.send({\n\t\terror: getReasonPhrase(StatusCodes.INTERNAL_SERVER_ERROR)\n\t});\n\nresponse\n\t.status(getStatusCode('Internal Server Error'))\n\t.send({\n\t\terror: 'Internal Server Error'\n\t});\n```\n\n## CommonJS (Node) Usage (express 4.x)\n\n```javascript\nimport HttpStatusCodes from 'http-status-codes';\n\nresponse\n\t.status(HttpStatusCodes.StatusCodes.OK)\n\t.send(HttpStatusCodes.ReasonPhrases.OK);\n\nresponse\n\t.status(HttpStatusCodes.StatusCodes.INTERNAL_SERVER_ERROR)\n\t.send({\n\t\terror: HttpStatusCodes.getReasonPhrase(HttpStatusCodes.StatusCodes.INTERNAL_SERVER_ERROR)\n\t});\n\nresponse\n\t.status(HttpStatusCodes.getStatusCode('Internal Server Error'))\n\t.send({\n\t\terror: 'Internal Server Error'\n\t});\n```\n\n## Codes \n\n| Code | Constant                        | Reason Phrase                   |\n| ---- | ------------------------------- | ------------------------------- |\n| 100  | CONTINUE                        | Continue                        |\n| 101  | SWITCHING_PROTOCOLS             | Switching Protocols             |\n| 102  | PROCESSING                      | Processing                      |\n| 200  | OK                              | OK                              |\n| 201  | CREATED                         | Created                         |\n| 202  | ACCEPTED                        | Accepted                        |\n| 203  | NON_AUTHORITATIVE_INFORMATION   | Non Authoritative Information   |\n| 204  | NO_CONTENT                      | No Content                      |\n| 205  | RESET_CONTENT                   | Reset Content                   |\n| 206  | PARTIAL_CONTENT                 | Partial Content                 |\n| 207  | MULTI_STATUS                    | Multi-Status                    |\n| 300  | MULTIPLE_CHOICES                | Multiple Choices                |\n| 301  | MOVED_PERMANENTLY               | Moved Permanently               |\n| 302  | MOVED_TEMPORARILY               | Moved Temporarily               |\n| 303  | SEE_OTHER                       | See Other                       |\n| 304  | NOT_MODIFIED                    | Not Modified                    |\n| 305  | USE_PROXY                       | Use Proxy                       |\n| 307  | TEMPORARY_REDIRECT              | Temporary Redirect              |\n| 308  | PERMANENT_REDIRECT              | Permanent Redirect              |\n| 400  | BAD_REQUEST                     | Bad Request                     |\n| 401  | UNAUTHORIZED                    | Unauthorized                    |\n| 402  | PAYMENT_REQUIRED                | Payment Required                |\n| 403  | FORBIDDEN                       | Forbidden                       |\n| 404  | NOT_FOUND                       | Not Found                       |\n| 405  | METHOD_NOT_ALLOWED              | Method Not Allowed              |\n| 406  | NOT_ACCEPTABLE                  | Not Acceptable                  |\n| 407  | PROXY_AUTHENTICATION_REQUIRED   | Proxy Authentication Required   |\n| 408  | REQUEST_TIMEOUT                 | Request Timeout                 |\n| 409  | CONFLICT                        | Conflict                        |\n| 410  | GONE                            | Gone                            |\n| 411  | LENGTH_REQUIRED                 | Length Required                 |\n| 412  | PRECONDITION_FAILED             | Precondition Failed             |\n| 413  | REQUEST_TOO_LONG                | Request Entity Too Large        |\n| 414  | REQUEST_URI_TOO_LONG            | Request-URI Too Long            |\n| 415  | UNSUPPORTED_MEDIA_TYPE          | Unsupported Media Type          |\n| 416  | REQUESTED_RANGE_NOT_SATISFIABLE | Requested Range Not Satisfiable |\n| 417  | EXPECTATION_FAILED              | Expectation Failed              |\n| 418  | IM_A_TEAPOT                     | I'm a teapot                    |\n| 419  | INSUFFICIENT_SPACE_ON_RESOURCE  | Insufficient Space on Resource  |\n| 420  | METHOD_FAILURE                  | Method Failure                  |\n| 422  | UNPROCESSABLE_ENTITY            | Unprocessable Entity            |\n| 423  | LOCKED                          | Locked                          |\n| 424  | FAILED_DEPENDENCY               | Failed Dependency               |\n| 428  | PRECONDITION_REQUIRED           | Precondition Required           |\n| 429  | TOO_MANY_REQUESTS               | Too Many Requests               |\n| 431  | REQUEST_HEADER_FIELDS_TOO_LARGE | Request Header Fields Too Large |\n| 500  | INTERNAL_SERVER_ERROR           | Server Error                    |\n| 501  | NOT_IMPLEMENTED                 | Not Implemented                 |\n| 502  | BAD_GATEWAY                     | Bad Gateway                     |\n| 503  | SERVICE_UNAVAILABLE             | Service Unavailable             |\n| 504  | GATEWAY_TIMEOUT                 | Gateway Timeout                 |\n| 505  | HTTP_VERSION_NOT_SUPPORTED      | HTTP Version Not Supported      |\n| 507  | INSUFFICIENT_STORAGE            | Insufficient Storage            |\n| 511  | NETWORK_AUTHENTICATION_REQUIRED | Network Authentication Required |\n\n## Migrating from v1.x.x\n\nhttp-status-codes v2 is mostly backwards compatible with v1, there is a single breaking change and two recommended changes.\n\n### Breaking Change 'Server Error'\n\nThe reason phrase for the status code 500 has been changed from 'Server Error' to 'Internal Server Error'. This is the correct phrase according to RFC7231. If you have code that relies on the result of `getStatusText(500)` or `getReasonPhrase('Server Error')`, then this could affect you.\n\n### Non-breaking change getStatusText renamed getReasonPhrase\n\nThe function getStatusText has been renamed to getReasonPhrase. The old function is still available but may be deprecated in a future version. To fix this, simply rename `getStatusText()` to `getReasonPhrase()`. The function is otherwise the same as it was before.\n\n### Non-breaking change StatusCodes\n\nIn http-status-codes v1, Status Codes were exported directly from the top-level module. i.e. `HttpStatus.OK`. In v2 all Status Codes live under an object called `HttpStatus.StatusCodes`. We made this change to cater to TypeScript users who prefer a dedicated value with an enum type. The previous values are still exported, but we won't continue to update them. Please migrate if you're using the old-style imports.\n\n## Proposing a new status code\n\nIf you'd like to propose a new status code, feel free to update \"codes.json\" with the necessary\ninformation and open a pull request. No need to modify source code or even this README.\nThe update-codes script will handle this all for you.\n\nIn general, we try to include only codes that have an official RFC and have been approved, however\nexceptions will be made if the code is already in widespread use in the wild.\n\n## Steps to build and publish\n\n```shell\nnpm run update-codes\nnpm run test\nnpm run build\nnpm version [major | minor | patch]\nnpm run publish\n```\n","readmeFilename":"README.md","gitHead":"68ad5a38216e3d0fa948ca61984225cc5a97becb","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@2.0.0-beta.7","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-R2zXgz9ftYPRV38azYunHsteVpa2HSeEReb7nXPFs6M8LUkR/kNRCE7dZLKitDgTFsTAyHYZ3FLbPsk7x9IxzQ==","shasum":"163f28e7c7630ba5d68a743259f5473cace2f122","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.0.0-beta.7.tgz","fileCount":5,"unpackedSize":112921,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQquhCRA9TVsSAnZWagAA8QcP/ivfpFC0U1mnqiiaRmRB\npuO5983KE+IgndQ+fjEvHetsbDL7wvhys9I3/nGKS9YsATjjIki2VPvOQOmd\nTziA06zyHG3vtepHzsv0B+WDcd+sCCrlhYH6yn+7/Y0TEHR1mtV5n6mhs5FB\nRV0UavshMcRUeH7VoZxyvziigNsQvSS8Y5tLCiKqsZj7yKhQwkzuaRML7FyN\nB70r82j3epklzHN2rQkuFEsn90Yw5OrzawE0Q+hsRjcYP3KiJ2QnjMOJNbGG\np7O3F4FipTxchfx9EQinufmwra4c9SU1yyarnLueys3Vkq3oe31Zigddbbjp\nk3mDPcDYQ/g6gmMBVTjlocvzJVacWP8Wfdk3ku4RcYfF7RIrBtW+x7ryBLDc\nND3uj4bpH3ejpYCAvFYTx9m9SPH2VFQ/miGjibhDpi0/6sFPQ3EIUIP/WNrd\nln31w3XmtSlbiEJLYhsX+X4KQaDIq2OXt0mZq47EFGmBHA4AgJl+LrlBTlcG\nbit91JFYKsUARYsZuldV7k6rlETiKefCDY5V0X+MV4fFOnAVAD3COqa75ym0\nr8qtezelbghmJfLwwifyon88QdogiwJnusnZB0aMvznOxWDy+cggvR0w6sat\nIYbJ8I5bBr6MijqPfoy57qDOGytnXIjs7YyvgYvmZc2G4Us+PRBmXwrQg7TG\nHG8m\r\n=xWCH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC+jCuGZgcQ9BldZr920rjLNEX2QacBCnYTMrZrNteytAiA12hEOKdfw1egOIlI5jV78I5KAzLjH7EABuMVkxENKOw=="}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.0.0-beta.7_1598204832552_0.7370392017178355"},"_hasShrinkwrap":false},"2.0.0-beta.8":{"name":"http-status-codes","version":"2.0.0-beta.8","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build":"./scripts/build.sh","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./build/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","@vercel/ncc":"^0.23.0","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","ts-node":"^9.0.0","typescript":"^3.9.7"},"readme":"# http-status-codes\n\nConstants enumerating the HTTP status codes. Based on the [Java Apache HttpStatus API](http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpStatus.html).\n\nAll status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), RFC2518 (WebDAV), RFC6585 (Additional HTTP Status Codes), and RFC7538 (Permanent Redirect) are supported.\n\nTypeScript or JavaScript. Completely library agnostic. No dependencies.\n\n## Installation\n\n```console\nnpm install http-status-codes --save\n```\n\n## Usage (express 4.x)\n\n```typescript\nimport {\n\tReasonPhrases,\n\tStatusCodes,\n\tgetReasonPhrase,\n\tgetStatusCode,\n} from 'http-status-codes';\n\nresponse\n\t.status(StatusCodes.OK)\n\t.send(ReasonPhrases.OK);\n\nresponse\n\t.status(StatusCodes.INTERNAL_SERVER_ERROR)\n\t.send({\n\t\terror: getReasonPhrase(StatusCodes.INTERNAL_SERVER_ERROR)\n\t});\n\nresponse\n\t.status(getStatusCode('Internal Server Error'))\n\t.send({\n\t\terror: 'Internal Server Error'\n\t});\n```\n\n## Codes\n\n| Code | Constant                        | Reason Phrase                   |\n| ---- | ------------------------------- | ------------------------------- |\n| 100  | CONTINUE                        | Continue                        |\n| 101  | SWITCHING_PROTOCOLS             | Switching Protocols             |\n| 102  | PROCESSING                      | Processing                      |\n| 200  | OK                              | OK                              |\n| 201  | CREATED                         | Created                         |\n| 202  | ACCEPTED                        | Accepted                        |\n| 203  | NON_AUTHORITATIVE_INFORMATION   | Non Authoritative Information   |\n| 204  | NO_CONTENT                      | No Content                      |\n| 205  | RESET_CONTENT                   | Reset Content                   |\n| 206  | PARTIAL_CONTENT                 | Partial Content                 |\n| 207  | MULTI_STATUS                    | Multi-Status                    |\n| 300  | MULTIPLE_CHOICES                | Multiple Choices                |\n| 301  | MOVED_PERMANENTLY               | Moved Permanently               |\n| 302  | MOVED_TEMPORARILY               | Moved Temporarily               |\n| 303  | SEE_OTHER                       | See Other                       |\n| 304  | NOT_MODIFIED                    | Not Modified                    |\n| 305  | USE_PROXY                       | Use Proxy                       |\n| 307  | TEMPORARY_REDIRECT              | Temporary Redirect              |\n| 308  | PERMANENT_REDIRECT              | Permanent Redirect              |\n| 400  | BAD_REQUEST                     | Bad Request                     |\n| 401  | UNAUTHORIZED                    | Unauthorized                    |\n| 402  | PAYMENT_REQUIRED                | Payment Required                |\n| 403  | FORBIDDEN                       | Forbidden                       |\n| 404  | NOT_FOUND                       | Not Found                       |\n| 405  | METHOD_NOT_ALLOWED              | Method Not Allowed              |\n| 406  | NOT_ACCEPTABLE                  | Not Acceptable                  |\n| 407  | PROXY_AUTHENTICATION_REQUIRED   | Proxy Authentication Required   |\n| 408  | REQUEST_TIMEOUT                 | Request Timeout                 |\n| 409  | CONFLICT                        | Conflict                        |\n| 410  | GONE                            | Gone                            |\n| 411  | LENGTH_REQUIRED                 | Length Required                 |\n| 412  | PRECONDITION_FAILED             | Precondition Failed             |\n| 413  | REQUEST_TOO_LONG                | Request Entity Too Large        |\n| 414  | REQUEST_URI_TOO_LONG            | Request-URI Too Long            |\n| 415  | UNSUPPORTED_MEDIA_TYPE          | Unsupported Media Type          |\n| 416  | REQUESTED_RANGE_NOT_SATISFIABLE | Requested Range Not Satisfiable |\n| 417  | EXPECTATION_FAILED              | Expectation Failed              |\n| 418  | IM_A_TEAPOT                     | I'm a teapot                    |\n| 419  | INSUFFICIENT_SPACE_ON_RESOURCE  | Insufficient Space on Resource  |\n| 420  | METHOD_FAILURE                  | Method Failure                  |\n| 422  | UNPROCESSABLE_ENTITY            | Unprocessable Entity            |\n| 423  | LOCKED                          | Locked                          |\n| 424  | FAILED_DEPENDENCY               | Failed Dependency               |\n| 428  | PRECONDITION_REQUIRED           | Precondition Required           |\n| 429  | TOO_MANY_REQUESTS               | Too Many Requests               |\n| 431  | REQUEST_HEADER_FIELDS_TOO_LARGE | Request Header Fields Too Large |\n| 500  | INTERNAL_SERVER_ERROR           | Internal Server Error           |\n| 501  | NOT_IMPLEMENTED                 | Not Implemented                 |\n| 502  | BAD_GATEWAY                     | Bad Gateway                     |\n| 503  | SERVICE_UNAVAILABLE             | Service Unavailable             |\n| 504  | GATEWAY_TIMEOUT                 | Gateway Timeout                 |\n| 505  | HTTP_VERSION_NOT_SUPPORTED      | HTTP Version Not Supported      |\n| 507  | INSUFFICIENT_STORAGE            | Insufficient Storage            |\n| 511  | NETWORK_AUTHENTICATION_REQUIRED | Network Authentication Required |\n\n## Migrating from v1.x.x\n\nhttp-status-codes v2 is mostly backwards compatible with v1. There is a single breaking change and two recommended changes.\n\n#### [Breaking Change] 'Server Error'\n\nThe reason phrase for the status code `500` has been changed from `\"Server Error\"` to `\"Internal Server Error\"`. This is the correct phrase according to RFC7231. If you are migrating from v1, and have code that relies on the result of `getStatusText(500)` or `getReasonPhrase('Server Error')`, then this could affect you.\n\n#### [Non-breaking change] getStatusText renamed getReasonPhrase\n\nThe function `getStatusText` has been renamed to `getReasonPhrase`. The old function is still available, but may be deprecated in a future version. To fix this simply rename instances of `getStatusText()` to `getReasonPhrase()`. The function is otherwise the same as it was before.\n\n#### [Non-breaking change] StatusCodes\n\nIn http-status-codes v1, Status Codes were exported directly from the top-level module. i.e. `HttpStatus.OK`. In v2 all Status Codes live under an object called `StatusCodes`. i.e. `HttpStatus.StatusCodes.OK`. We made this change to cater to TypeScript users who prefer a dedicated value with an enum type. The previous values are still exported, but we won't continue to update them. Please migrate if you're using the old-style imports.\n\n## Proposing a new status code\n\nIf you'd like to propose a new status code, feel free to update \"codes.json\" with the necessary\ninformation and open a pull request. There is no need to modify source code or even this README.\nThis is done automatically by `npm run update-codes`.\n\nIn general, we try to include only codes that have an official RFC and have been approved, however\nexceptions can be made if the code is already in widespread use in the wild.\n\n## Steps to build and publish\n\n```shell\nnpm run update-codes\nnpm run test\nnpm run build\nnpm version [major | minor | patch]\nnpm run publish\n```\n","readmeFilename":"README.md","gitHead":"40cf27e7befd11221f18f4861620f3fb2c9ea0d2","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@2.0.0-beta.8","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-1eIq/4ABf2BcJojEu9G2OVBF5qlrXi2NPjaSLPI2eKhhv5g2BjYKRq1ZERFDDHmLFR6akp/9478oWQjAKBqu8A==","shasum":"505ca9981beb66b13627024cfe1460dc133d6a50","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.0.0-beta.8.tgz","fileCount":5,"unpackedSize":112504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQq/UCRA9TVsSAnZWagAArcwP/26c3cCN8IPoXeeMdLG9\nYBRxHr9rB0LllGG+woj4P0cA5JpeFcVopGHtzJR4H4tRs941Y+iGQ3TYLPmE\nZOs3Kywug9VNMAanSt7K2tqimSQQ1yFQudZc1GmG72qCNRVATFWyq332WkpU\nqG93Qf8V7uwnziaGnWiDL2CoV1TVFzPt7laBphxbao6aR8QQlgIxGlRnBWfw\n81/C/qtA1HNHbAIbnkPs1sD1p4WfLqBpIqEVl8fQw+/j9wkeNJc2ck3rBytn\nNCDJyik+cyBZkndMAZ38Sa0iPYPomL+swRQfT9K2QEFmzZyBTuAYN7DXiVDB\nnOV1swMFyVES8SVZ3Q8B0LMTTQzEYQFms5ulxIYljtbXgtjECObTsOV+6HGQ\nE0yb3rkScgLE+q+L4FgTtbH+eMM6YJj5YttiHMcdeqHeLSaKxyRAcojE4wSP\nAJhMnbkdgFK9wwfgL7J6D33kzQU7gM/PM7uFpKK8ZkPM3Tk3Tu4jlwLFexcd\nS9m0nWEzXSYj8UpoW+T7Xg5iXEQsvdv3EzPlXOd+7Adwmci2Yqtg9SZzmlkg\nun3ETkuEp2vGG7sLBdj1sE7SAn1WpgzP++Ox436olfnH/1gRHTJ+H+uvoJq/\n7OvIbe1eFH8BZMETnsd9Mt9YorrxAmVJCpupngph6p5+cjujX+MsldFSGMAL\nEJV3\r\n=CoVa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGXaxvjXHP42bIVrdtLSdNw1ucKJoEMTALk9xz1yEFJxAiEA8lOXWyVAyKFoGktidPmGnbeLi795TOAaM62tKo7ugtk="}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.0.0-beta.8_1598205908144_0.7462954167022546"},"_hasShrinkwrap":false},"2.0.0-beta.9":{"name":"http-status-codes","version":"2.0.0-beta.9","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build":"./scripts/build.sh","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./build/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","@vercel/ncc":"^0.23.0","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","ts-node":"^9.0.0","typescript":"^3.9.7"},"readme":"# http-status-codes\n\nConstants enumerating the HTTP status codes. Based on the [Java Apache HttpStatus API](http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpStatus.html).\n\nAll status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), RFC2518 (WebDAV), RFC6585 (Additional HTTP Status Codes), and RFC7538 (Permanent Redirect) are supported.\n\nTypeScript or JavaScript. Completely library agnostic. No dependencies.\n\n## Installation\n\n```console\nnpm install http-status-codes --save\n```\n\n## Usage (express 4.x)\n\n```typescript\nimport {\n\tReasonPhrases,\n\tStatusCodes,\n\tgetReasonPhrase,\n\tgetStatusCode,\n} from 'http-status-codes';\n\nresponse\n\t.status(StatusCodes.OK)\n\t.send(ReasonPhrases.OK);\n\nresponse\n\t.status(StatusCodes.INTERNAL_SERVER_ERROR)\n\t.send({\n\t\terror: getReasonPhrase(StatusCodes.INTERNAL_SERVER_ERROR)\n\t});\n\nresponse\n\t.status(getStatusCode('Internal Server Error'))\n\t.send({\n\t\terror: 'Internal Server Error'\n\t});\n```\n\n## Codes\n\n| Code | Constant                        | Reason Phrase                   |\n| ---- | ------------------------------- | ------------------------------- |\n| 100  | CONTINUE                        | Continue                        |\n| 101  | SWITCHING_PROTOCOLS             | Switching Protocols             |\n| 102  | PROCESSING                      | Processing                      |\n| 200  | OK                              | OK                              |\n| 201  | CREATED                         | Created                         |\n| 202  | ACCEPTED                        | Accepted                        |\n| 203  | NON_AUTHORITATIVE_INFORMATION   | Non Authoritative Information   |\n| 204  | NO_CONTENT                      | No Content                      |\n| 205  | RESET_CONTENT                   | Reset Content                   |\n| 206  | PARTIAL_CONTENT                 | Partial Content                 |\n| 207  | MULTI_STATUS                    | Multi-Status                    |\n| 300  | MULTIPLE_CHOICES                | Multiple Choices                |\n| 301  | MOVED_PERMANENTLY               | Moved Permanently               |\n| 302  | MOVED_TEMPORARILY               | Moved Temporarily               |\n| 303  | SEE_OTHER                       | See Other                       |\n| 304  | NOT_MODIFIED                    | Not Modified                    |\n| 305  | USE_PROXY                       | Use Proxy                       |\n| 307  | TEMPORARY_REDIRECT              | Temporary Redirect              |\n| 308  | PERMANENT_REDIRECT              | Permanent Redirect              |\n| 400  | BAD_REQUEST                     | Bad Request                     |\n| 401  | UNAUTHORIZED                    | Unauthorized                    |\n| 402  | PAYMENT_REQUIRED                | Payment Required                |\n| 403  | FORBIDDEN                       | Forbidden                       |\n| 404  | NOT_FOUND                       | Not Found                       |\n| 405  | METHOD_NOT_ALLOWED              | Method Not Allowed              |\n| 406  | NOT_ACCEPTABLE                  | Not Acceptable                  |\n| 407  | PROXY_AUTHENTICATION_REQUIRED   | Proxy Authentication Required   |\n| 408  | REQUEST_TIMEOUT                 | Request Timeout                 |\n| 409  | CONFLICT                        | Conflict                        |\n| 410  | GONE                            | Gone                            |\n| 411  | LENGTH_REQUIRED                 | Length Required                 |\n| 412  | PRECONDITION_FAILED             | Precondition Failed             |\n| 413  | REQUEST_TOO_LONG                | Request Entity Too Large        |\n| 414  | REQUEST_URI_TOO_LONG            | Request-URI Too Long            |\n| 415  | UNSUPPORTED_MEDIA_TYPE          | Unsupported Media Type          |\n| 416  | REQUESTED_RANGE_NOT_SATISFIABLE | Requested Range Not Satisfiable |\n| 417  | EXPECTATION_FAILED              | Expectation Failed              |\n| 418  | IM_A_TEAPOT                     | I'm a teapot                    |\n| 419  | INSUFFICIENT_SPACE_ON_RESOURCE  | Insufficient Space on Resource  |\n| 420  | METHOD_FAILURE                  | Method Failure                  |\n| 422  | UNPROCESSABLE_ENTITY            | Unprocessable Entity            |\n| 423  | LOCKED                          | Locked                          |\n| 424  | FAILED_DEPENDENCY               | Failed Dependency               |\n| 428  | PRECONDITION_REQUIRED           | Precondition Required           |\n| 429  | TOO_MANY_REQUESTS               | Too Many Requests               |\n| 431  | REQUEST_HEADER_FIELDS_TOO_LARGE | Request Header Fields Too Large |\n| 500  | INTERNAL_SERVER_ERROR           | Internal Server Error           |\n| 501  | NOT_IMPLEMENTED                 | Not Implemented                 |\n| 502  | BAD_GATEWAY                     | Bad Gateway                     |\n| 503  | SERVICE_UNAVAILABLE             | Service Unavailable             |\n| 504  | GATEWAY_TIMEOUT                 | Gateway Timeout                 |\n| 505  | HTTP_VERSION_NOT_SUPPORTED      | HTTP Version Not Supported      |\n| 507  | INSUFFICIENT_STORAGE            | Insufficient Storage            |\n| 511  | NETWORK_AUTHENTICATION_REQUIRED | Network Authentication Required |\n\n## Migrating from v1.x.x\n\nhttp-status-codes v2 is mostly backwards compatible with v1. There is a single breaking change and two recommended changes.\n\n#### [Breaking Change] 'Server Error'\n\nThe reason phrase for the status code `500` has been changed from `\"Server Error\"` to `\"Internal Server Error\"`. This is the correct phrase according to RFC7231. If you are migrating from v1, and have code that relies on the result of `getStatusText(500)` or `getReasonPhrase('Server Error')`, then this could affect you.\n\n#### [Non-breaking change] getStatusText renamed getReasonPhrase\n\nThe function `getStatusText` has been renamed to `getReasonPhrase`. The old function is still available, but may be deprecated in a future version. To fix this simply rename instances of `getStatusText()` to `getReasonPhrase()`. The function is otherwise the same as it was before.\n\n#### [Non-breaking change] StatusCodes\n\nIn http-status-codes v1, Status Codes were exported directly from the top-level module. i.e. `HttpStatus.OK`. In v2 all Status Codes live under an object called `StatusCodes`. i.e. `HttpStatus.StatusCodes.OK`. We made this change to cater to TypeScript users who prefer a dedicated value with an enum type. The previous values are still exported, but we won't continue to update them. Please migrate if you're using the old-style imports.\n\n## Proposing a new status code\n\nIf you'd like to propose a new status code, feel free to update \"codes.json\" with the necessary\ninformation and open a pull request. There is no need to modify source code or even this README.\nThis is done automatically by `npm run update-codes`.\n\nIn general, we try to include only codes that have an official RFC and have been approved, however\nexceptions can be made if the code is already in widespread use in the wild.\n\n## Steps to build and publish\n\n```shell\nnpm run update-codes\nnpm run test\nnpm run build\nnpm version [major | minor | patch]\nnpm run publish\n```\n","readmeFilename":"README.md","gitHead":"45c7dd2f76cc90b599722002252e6bdd9671ef67","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@2.0.0-beta.9","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-9BLiGKfg7re6FM6J6RoVxMZh544sSLo6r/m6e4+FwtkUAxKP32DJNkAdFgnhwxoqE+cCC+DmzTjXXR1yjQ0DEw==","shasum":"151f3800d592d1478c020542af950249198226ab","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.0.0-beta.9.tgz","fileCount":5,"unpackedSize":112678,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQsWCCRA9TVsSAnZWagAA044P/RMK10puviJ2X1Gq5UiZ\nOmDcVXnVIEoSZ81RrTHkSb4GL0VTebQClj2M3AqD9DsjwBOJ/Ag1Sx6np+Iw\nG0QOJfBKA5jiDg0026QoYk+JLFg+ym5A6yhiv45FWfcrFAhlvszxib6sEP8q\nxJXCRQJbMZf0sJfcadGPtAcBb7iJez/2W2sEqmiyOmFfUD9U4+LKsYeCiq3n\n+GhQ+zhKNN0aShaGp0iY1X9IGOg9kwOpbqxNHVDGCf6EjPylJTo4V6NimD3x\nKVvyaD0LRLSIlTSB+jXKoOYbKFqJF3EPkxqBcH4Mk2A2ywwmo5FzOt1PE/PR\nYjpv1oqLYm8K0ldCmxCkDWBmstw1x7La3xZV+mkgX7/ydAIL2EkbuCxZZyPN\n8EwojO2aQx+6NQI8xyOLNBCXYQ/o6zmbH9SFfpujkVdNV2hXavb0WVGzgi57\nzWnlDw9H8ZaxBuLRKHzooyHEHfSA+Q672/2ui75E6q7ubJ8NwzXRVn24Ungh\nb2wNlArqV4VlCUocMwFW/rrske6Jn16vMCm7en3pVjVjSwnYvR5uXqF9P44D\nKsGwGeOctSBSXnnu+z75kpNDpBoCRTC9vOuOoeQXOj+2UAZxVoaUgIIevhHp\nC3jr38/QQzYyGk6NZMvozntcJwyZt0rnmAOwjAqbWUxi3yG4lFO7UKFNnjDN\nDTuf\r\n=agWn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEgKm9zk5Vwr04PPutA465+/a2Ws6Dyqjxq1g+daqFvnAiEAo8p8jqA9rDkc7LhzaSGO45DzGkXnCQ6huYoq0lYAfbM="}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.0.0-beta.9_1598211457929_0.7584099527568324"},"_hasShrinkwrap":false},"2.0.0":{"name":"http-status-codes","version":"2.0.0","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build":"./scripts/build.sh","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./build/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","@vercel/ncc":"^0.23.0","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","ts-node":"^9.0.0","typescript":"^3.9.7"},"gitHead":"94e6abfabee9ae308927a0f37096ea5f380e1254","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@2.0.0","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-fF3gE9NafcUcfR9u7zO5ypkh590RsmEBq/Fw9G3n+rz5aZV9YRwp9uB+j1teBExbmCsH8NWbgJBGM2Ib10ISyw==","shasum":"56d35f3cfc60196193723020bdd63bc2252ace18","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.0.0.tgz","fileCount":5,"unpackedSize":112671,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQscBCRA9TVsSAnZWagAAXUAP/j0lfdXU0yfnq5oUo9zZ\nfrskOtxeZ9xTZ6vrrKnS0hNWBBeyxFEpIyTEYqCcBDwC3m4uAOiPhqVKVNzq\n47rB2k5VVtYF+cAZCv0FRd3Nz66JtrnLHCikIQwhbVN4To1G77kIwAKkGpHv\nfewpRyP7N+iKzH7dM1ek/mJur7OZ0QxymZfJvSnn5VOnGMI0Cac+uXIBLFVF\nXpleCblu2HRW3daq7vWLsEvvTYzOIsWt7ArNJTYYuzJuGJ8IEsLoxJShGJUo\nwyq+rF2z9c1+OdVep1QkNp6HInZHSA4BfGcuGMCBDdIKF4Y74yqHLKbQlT+N\nEuyToL/VMuLp1O4Ro05NYhby0yDdYAi1SZcx1c8/av28aZwVEUIFz4w9fyVp\nwrV1yVDSw2uQmQPjLPYXk0YnFrGkZbLnHJKlOaEAv+mmA3xdTu7ag1+uoeC7\ngWDjeRVm7Rj2HgtAMkLG4u1qWVLSndCyiZ1B1t0ZiTUK6AkRL3kvdfM2l6oj\nuGHv5NUdf3jRlbrivUf3CgW6GCQY5VszX7XKEs0gx7PiSrU83Mn04Nyx59d/\nNj80x8YySPVflOK64UkD1hLq4IyANMvJLnZZBXlTvcJ85U8gwCOvW/OOO/Ly\nAaHPIXjqAlK5zAbgEA8sO0m8uGKSd59bbrILVjLI7NnSAqO9Ha6VzP5+Apdz\nLOe1\r\n=lnS+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfMhAZPJbko2996RfdgVPVgRIQhovvgGbY168zXy/xngIhAPA0KInR+Tl+bM6wPiy7DHpRQIzQEBkKVyHRI/4gOR9k"}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.0.0_1598211841278_0.4574020167370505"},"_hasShrinkwrap":false},"2.1.0":{"name":"http-status-codes","version":"2.1.0","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build":"./scripts/build.sh","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./build/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","@vercel/ncc":"^0.23.0","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","ts-node":"^9.0.0","typescript":"^3.9.7"},"gitHead":"8539338eb8275cd170599bb4eb3e350c87bd6bc5","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@2.1.0","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-ghPlf6PwXk8KvPObQEN6lJsaMiBdJsGsmquxopYn0IHM3nt6NFiECY69Q+r/mRscHn/H17lBBVgLz0KEG9B0Dg==","shasum":"3b01d8f1a064e508c2ee4edcb27160e5aa121a54","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.1.0.tgz","fileCount":5,"unpackedSize":113977,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQtqwCRA9TVsSAnZWagAAicgP/2UM4D8lV7lbVlj3ewxs\nqMZH0pouyky1u/RJW5ZCbfZp8AvE5sOej0jXCj+p//Wfo/LEP/KK9QuZ9vPT\nbLPCpLzznbqjrEPmuhiCrLq9v4V3NM9CSvn5bVaHfbqPaJATi3fW7XEywfjm\nDhATmY7KXHN1oXeXoh7raDULe7GzK2EwTrVJZJHXjvOvUohs1QHAxDi9OhBe\nzAU2srX7rJ048rAKX3TQBTpYRcFqDozLotkt4tn+RTNXp36StHoaoIyTSy4K\nRmG9IGga/JOW00FnY5bYswXDx0KABoESBUxnr9KYHpZwXbNUOapHF0UZeADb\nj40QuO/ykvZYoP/TbZYqOa0areGd9hWklwICwhhiZoRcjnywWpKMl0rDeMj5\noMJzT7RzYGdHtwdpipLflau59ywSa0sUhgq3GM/a5O1WJSTGCNj/rdlaMLaQ\nYYgNP+0qn8A6or5CqVmO4KkM+ZI3G+2cUnQoQ1/p8dGFJo2oE5ErnxsK6FaB\nihfZgB/44MiVb1fE7e/XaShWUvvwSDCgn9wC2p0PqU/llKWzlhkezTzKzZ5m\nr8vexV4eCBl6DCz8JCfOBmlu1/oISnpgg3dphZcZEjiWyX+GoXPtWt1Q7gW2\nRuOZTvtvcnHN9ZIX98piwm0fxXxVShK6E1TXIKppayQiazh8/gyqEepVIf3X\nX8kU\r\n=KZFI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF8Kz6TuNT7xIWtNFKCnbUMrA3rEmNkJt7/LqN4m0x0nAiEAyW6iIiTCOxI31pLyhWOMXOhKZogyyzE59LoeuXy08zQ="}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.1.0_1598216879527_0.3693879458078906"},"_hasShrinkwrap":false},"2.1.1":{"name":"http-status-codes","version":"2.1.1","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build":"./scripts/build.sh","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./build/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","@vercel/ncc":"^0.23.0","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","ts-node":"^9.0.0","typescript":"^3.9.7"},"gitHead":"bf0b42dbc8015af9d0a84d23d60ec85c8fe63d0a","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@2.1.1","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-MPKYOEXZw8MzXml8XF8UBWzWGuO60ZKXBDCGwxPJmRZJW3eTUsLgB+O+jtlPB8ZOVSUs1vjcrxtitJghYzxtHQ==","shasum":"1e8fc7358055135518c1dced00362fd3c1f4f606","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.1.1.tgz","fileCount":5,"unpackedSize":113883,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQvQ4CRA9TVsSAnZWagAAxKIQAIE4ZxM8fAqHpumfbt+H\nZ9pgcowqX3kDm9oSuVutia4Ggm48at65Ahm52dF6e+gPo7gnUtY+lwVMihDc\nX97njZt5LmLEajTKUeZsc/5j7toce49k2hw8WrECTpi+gYVT6Y74ATOajeXV\nzpj6CelbtvNXKVZYKJn+hSwhWUGvOHCIgwKbldAphGk1BxQ9bVJMG+NwTUfm\nXKjG2Z0QuFGR3DzXTurj/Na99Kk0VKl33HwgQNsjkKMx4QHW0hPwflMT/T6G\n45G0rKX4hH/RUnReEg9uHF+pcrZa4wkzkRVMOAXXo5JKl7zrO1Q5bWjUGNG5\ncYk0xNr/p2OksZAI8/nl/ryx9Uax3mTT8EtT1l515ZrjUTwgoAl7JQulUtYE\neklZDerWLkshTKDYxz3FeF9MvinuwzNb3Y7HjmzcekYhuewVSILOG1hwsO11\nfLfut3WIWqzxKC7Quj+emInWuenVX8vvIix/2u562+b+2KrdKWG5nUkkcIJ5\nUsWvXw//CyGUg/sod7ZIBbhb+BSRIqnfRyN1C3gKf3kZTvSEp144yzI3/RkD\nK512UTKsoFhT0gZXd8LWkizk6wd0vvqFquSOrFLdiVxyNxzrQbVfYBQvunJU\nX9t+WWL3vNaFj+q0jW6SJGdJcT33hESxbl0XBy7KDdZJeHuHxV3xVVRhHmPd\n3btW\r\n=jpFf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCENcTUf/q0FJOQ/o2ds7Co3ouBQrSopKK3L469m918awIhAKj7oRf5A/CO6DrJgb3xthIXE9Y9h99qrdpu5O3S/MtM"}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.1.1_1598223416112_0.205593743355579"},"_hasShrinkwrap":false},"2.1.2":{"name":"http-status-codes","version":"2.1.2","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build":"./scripts/build.sh","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./build/cjs/index.js","module":"./build/es/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","@vercel/ncc":"^0.23.0","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","ts-node":"^9.0.0","typescript":"^3.9.7"},"gitHead":"b3e447aff1607211686cbb1be248497dead163bc","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@2.1.2","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-zpZ1nBcoR0j1FLQ7xbXXBy1z/yUfAi+0a5IZBoZnmOseYkaljdzQ17ZeVXFlK23IbLxMJn6aWI0uU92DQQrG0g==","shasum":"dc5b7ccd72fb383d1d7c21adbbddc3b125f6a5b7","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.1.2.tgz","fileCount":9,"unpackedSize":215950,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRBKTCRA9TVsSAnZWagAA6ZAP/R4mdk6LT4MJqb/WXF/i\nCwBOewoBv7l+RswDtfnB27m04XbQ3zZBxC4yiF/6Y0fFtNUBVvs8bEq7a/tJ\neu+yRKD57gMdN3jI5+EysIUepjdW3zWwJGjW5EF4/ETJ73GtvCi4XF+sRR0w\nxT5NpaQo4M3+mCjTnc0iaO2s9kxpbsK04XTI1EYRxIa8faGozo2Pp3enqpRX\nsjhIDkOv2oTir2v5H3AmEQ2sWZRK1xjquYw52UBy55vraFtGcH3Wp05nASXH\nKaUSe/hnLfaJOAL3ScWbbecTV8yekxRq+7YDTF0LpxjEf9yJiEx8L3MGWdAK\n3rPvSJZrJWfbxrf2anj6yHavxKEF4JRaHZ2pyC5kA3mXF3HKF6up7EiTZCfd\nv6wo2T58fZKKWzBlFs7rB+6n/SIq5UYqpzgmrR4OCRq9nHJgUid8uq3bxA8L\n+PjGqYDUHP4V8GPXaF7bNUy+3vLUIYVsiQmbO6MTpvpshfHpK49MUyltKzsy\nMj735MWLwFYyko7bo3/IJPOvTpTbnOzxs5XMhkAYA58NmbQoWWMoTt8CcqfQ\nXGVbKuF80fwHkaY05Es188Uu35HWEO8Gf8bPE+QyDbYxHcXhbDLbjIAwQIz7\nUADYoOtCYdnV0nmObSCTgIOvmVpBzidXxoaxUOVM/y3Tkn2uUFuUMv4HQTAF\nSbWL\r\n=Vact\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHRLbYpFWpcIZXCvTz6GqrIXd11VHPLV1N4UVMU2kg9jAiBavh+kjwjdKoJcmYMsW+9iWiw2jtZk3l7L+WK9ZeocpA=="}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.1.2_1598296722563_0.6848559057194539"},"_hasShrinkwrap":false},"2.1.3-beta.0":{"name":"http-status-codes","sideEffects":false,"version":"2.1.3-beta.0","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build":"./scripts/build.sh","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./build/cjs/index.js","module":"./build/es/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","@vercel/ncc":"^0.23.0","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","ts-node":"^9.0.0","typescript":"^3.9.7"},"readme":"# http-status-codes\n\nConstants enumerating the HTTP status codes. Based on the [Java Apache HttpStatus API](http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpStatus.html).\n\nAll status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), RFC2518 (WebDAV), RFC6585 (Additional HTTP Status Codes), and RFC7538 (Permanent Redirect) are supported.\n\nTypeScript or JavaScript. Completely library agnostic. No dependencies.\n\n## Installation\n\n```console\nnpm install http-status-codes --save\n```\n\n## Usage (express 4.x)\n\n```typescript\nimport {\n\tReasonPhrases,\n\tStatusCodes,\n\tgetReasonPhrase,\n\tgetStatusCode,\n} from 'http-status-codes';\n\nresponse\n\t.status(StatusCodes.OK)\n\t.send(ReasonPhrases.OK);\n\nresponse\n\t.status(StatusCodes.INTERNAL_SERVER_ERROR)\n\t.send({\n\t\terror: getReasonPhrase(StatusCodes.INTERNAL_SERVER_ERROR)\n\t});\n\nresponse\n\t.status(getStatusCode('Internal Server Error'))\n\t.send({\n\t\terror: 'Internal Server Error'\n\t});\n```\n\n## Codes\n\n| Code | Constant                        | Reason Phrase                   |\n| ---- | ------------------------------- | ------------------------------- |\n| 100  | CONTINUE                        | Continue                        |\n| 101  | SWITCHING_PROTOCOLS             | Switching Protocols             |\n| 102  | PROCESSING                      | Processing                      |\n| 200  | OK                              | OK                              |\n| 201  | CREATED                         | Created                         |\n| 202  | ACCEPTED                        | Accepted                        |\n| 203  | NON_AUTHORITATIVE_INFORMATION   | Non Authoritative Information   |\n| 204  | NO_CONTENT                      | No Content                      |\n| 205  | RESET_CONTENT                   | Reset Content                   |\n| 206  | PARTIAL_CONTENT                 | Partial Content                 |\n| 207  | MULTI_STATUS                    | Multi-Status                    |\n| 300  | MULTIPLE_CHOICES                | Multiple Choices                |\n| 301  | MOVED_PERMANENTLY               | Moved Permanently               |\n| 302  | MOVED_TEMPORARILY               | Moved Temporarily               |\n| 303  | SEE_OTHER                       | See Other                       |\n| 304  | NOT_MODIFIED                    | Not Modified                    |\n| 305  | USE_PROXY                       | Use Proxy                       |\n| 307  | TEMPORARY_REDIRECT              | Temporary Redirect              |\n| 308  | PERMANENT_REDIRECT              | Permanent Redirect              |\n| 400  | BAD_REQUEST                     | Bad Request                     |\n| 401  | UNAUTHORIZED                    | Unauthorized                    |\n| 402  | PAYMENT_REQUIRED                | Payment Required                |\n| 403  | FORBIDDEN                       | Forbidden                       |\n| 404  | NOT_FOUND                       | Not Found                       |\n| 405  | METHOD_NOT_ALLOWED              | Method Not Allowed              |\n| 406  | NOT_ACCEPTABLE                  | Not Acceptable                  |\n| 407  | PROXY_AUTHENTICATION_REQUIRED   | Proxy Authentication Required   |\n| 408  | REQUEST_TIMEOUT                 | Request Timeout                 |\n| 409  | CONFLICT                        | Conflict                        |\n| 410  | GONE                            | Gone                            |\n| 411  | LENGTH_REQUIRED                 | Length Required                 |\n| 412  | PRECONDITION_FAILED             | Precondition Failed             |\n| 413  | REQUEST_TOO_LONG                | Request Entity Too Large        |\n| 414  | REQUEST_URI_TOO_LONG            | Request-URI Too Long            |\n| 415  | UNSUPPORTED_MEDIA_TYPE          | Unsupported Media Type          |\n| 416  | REQUESTED_RANGE_NOT_SATISFIABLE | Requested Range Not Satisfiable |\n| 417  | EXPECTATION_FAILED              | Expectation Failed              |\n| 418  | IM_A_TEAPOT                     | I'm a teapot                    |\n| 419  | INSUFFICIENT_SPACE_ON_RESOURCE  | Insufficient Space on Resource  |\n| 420  | METHOD_FAILURE                  | Method Failure                  |\n| 422  | UNPROCESSABLE_ENTITY            | Unprocessable Entity            |\n| 423  | LOCKED                          | Locked                          |\n| 424  | FAILED_DEPENDENCY               | Failed Dependency               |\n| 428  | PRECONDITION_REQUIRED           | Precondition Required           |\n| 429  | TOO_MANY_REQUESTS               | Too Many Requests               |\n| 431  | REQUEST_HEADER_FIELDS_TOO_LARGE | Request Header Fields Too Large |\n| 451  | UNAVAILABLE_FOR_LEGAL_REASONS   | Unavailable For Legal Reasons   |\n| 500  | INTERNAL_SERVER_ERROR           | Internal Server Error           |\n| 501  | NOT_IMPLEMENTED                 | Not Implemented                 |\n| 502  | BAD_GATEWAY                     | Bad Gateway                     |\n| 503  | SERVICE_UNAVAILABLE             | Service Unavailable             |\n| 504  | GATEWAY_TIMEOUT                 | Gateway Timeout                 |\n| 505  | HTTP_VERSION_NOT_SUPPORTED      | HTTP Version Not Supported      |\n| 507  | INSUFFICIENT_STORAGE            | Insufficient Storage            |\n| 511  | NETWORK_AUTHENTICATION_REQUIRED | Network Authentication Required |\n\n## Migrating from v1.x.x\n\nhttp-status-codes v2 is mostly backwards compatible with v1. There is a single breaking change and two recommended changes.\n\n#### [Breaking Change] 'Server Error'\n\nThe reason phrase for the status code `500` has been changed from `\"Server Error\"` to `\"Internal Server Error\"`. This is the correct phrase according to RFC7231. If you are migrating from v1, and have code that relies on the result of `getStatusText(500)` or `getReasonPhrase('Server Error')`, then this could affect you.\n\n#### [Non-breaking change] getStatusText renamed getReasonPhrase\n\nThe function `getStatusText` has been renamed to `getReasonPhrase`. The old function is still available, but may be deprecated in a future version. To fix this simply rename instances of `getStatusText()` to `getReasonPhrase()`. The function is otherwise the same as it was before.\n\n#### [Non-breaking change] StatusCodes\n\nIn http-status-codes v1, Status Codes were exported directly from the top-level module. i.e. `HttpStatus.OK`. In v2 all Status Codes live under an object called `StatusCodes`. i.e. `HttpStatus.StatusCodes.OK`. We made this change to cater to TypeScript users who prefer a dedicated value with an enum type. The previous values are still exported, but we won't continue to update them. Please migrate if you're using the old-style imports.\n\n## Proposing a new status code\n\nIf you'd like to propose a new status code, feel free to update \"codes.json\" with the necessary\ninformation and open a pull request. There is no need to modify source code or even this README.\nThis is done automatically by `npm run update-codes`.\n\nIn general, we try to include only codes that have an official RFC and have been approved, however\nexceptions can be made if the code is already in widespread use in the wild.\n\n## Steps to build and publish\n\n```shell\nnpm run update-codes\nnpm run test\nnpm run build\nnpm version [major | minor | patch]\nnpm publish\n```\n","readmeFilename":"README.md","gitHead":"e29e9ab2c27d31f2f9863a89429e38fa8cadaa79","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@2.1.3-beta.0","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-V4/MyFPRohVDcpWFKyKEKHRXiZbXWCiFETCkK/4bZA3mW6P5ePZ5bK1vT4PVTOCcWHZLHLHr/C8LGYc7JH8j5A==","shasum":"3d814f09a35c42f7bbcc19c09824fc4aefd9bec8","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.1.3-beta.0.tgz","fileCount":11,"unpackedSize":205605,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUbokCRA9TVsSAnZWagAAiY4P/ii34Z6hooCQVJXXMwJ5\nHmkH0z7XWGfWPQQbBufxZ06KTs4lmDmqs3f/wwESCcK/cCC5r40kCUnal5NV\n+Xx1r7pffPLkL0BXBIvDhemygzWJ8gjXi+92Zu0toE1aOOc8z7GXGSwAxX9B\nYSxG/SXp3khNvd+B3UBj4bZnDYWFk4DamRCfX7hYeK1a6xKU1CmSdRub9OIU\nRWXYmYSa5OaWPK3v3k3Kyf91KlA9XuOzkKfZJyWX7VpHyN7C8J9QjjLlbJZd\n7M8bR9zmQBogvCmNg6UB4esaxTxnO5t544M+yRmSSryTRjf3STb5qDJ5zCY/\n4yVnNIG49IC2hH1cQKXQznLJBENR6fIG+lMyYXw88S4yS4yfN+HNSpKWpa3O\n2Fkefp6J+9jXwEVDXsWuqEmkSguF4GhOdmG0/N3RZ/1yVrnkx8oFOzBJNS/c\n0yK1Crg2hSlt6oNo8X84/XZ3gGf0rPa98+m5oCqK/QYzIi2ubxuGj7Y19rll\n3PDDm6Ab4SOnHXI5qf+Iu6W+J3fOoCVuMOLNkYdUgje6y4o0sAxtzS7IVyU8\n0A3jxXH2zjaal+HA1x6PRLPYLQsTfTTrZ8CdIdS1JWPBWspUz8XYgoF9bhNe\nyTQDO1UPL7ymNlvpWH4Fw/QT4BNwYmoMG1QWnIVF5ei6lXLtWoiExnG979e8\nEuZm\r\n=zuQk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDeFaPR6mpsX9+sxAwl4/qEmMMoZBtfJ7G7l1TXLS8hogIhAMH9dVatSw9O8R+tamD+BawyLrOXS5C5fjQnFRPnxLou"}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.1.3-beta.0_1599191588245_0.466895767703418"},"_hasShrinkwrap":false},"2.1.3":{"name":"http-status-codes","sideEffects":false,"version":"2.1.3","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build":"./scripts/build.sh","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./build/cjs/index.js","module":"./build/es/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","ts-node":"^9.0.0","typescript":"^3.9.7"},"gitHead":"a366408578de839741c86098b9bf10bc908aba05","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@2.1.3","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-/kDMtEEhAw747LvzDupRRsUOrmw/oEPmwf61guegI1ycj0vyywitq4BhGPknLzqAEBQvsW6rSv0dd2de1MU+yg==","shasum":"d0ab99a7f79afb43dd735bc862ff350171f3cc2f","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.1.3.tgz","fileCount":11,"unpackedSize":207953,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfXO11CRA9TVsSAnZWagAApu0QAJ1FpBKJmUlRkIW60Yl8\nOdfsNFfpfmoZkDW3Wy7TC4knspXkolV6rY34H7UsKFj00nyUayMAQDvvjZ5W\npp8tdZw2AqmNgaffhFNykeiQSWm4P2BcfBS+0LLQQYPAXVkIB0PITYBWDYmv\n0uOcg+orLJvKQspyRfRiWXcZXG3NU9bz1L66Xrbz4EGRhcXL0gN4IUxUffUS\nOu09PWtSQ2QDT6azVarA8S/jFTYHiNWu7BJH5Lzg4re2+fHB9eBBmmDm/RBX\n+bp7srl9gORFwckHY9wo/Fep9wER0z9EQYW+UuvlB/5yx9WEn0RVp16c2oM9\n5iZun5xCxOPdi5+07UALPDnlXdTGHTZZtRK86jCi4LZijTPP2NgVO70EyRKm\njq6IEANB+PuuXptuTw0yi4fJzhFt94kl65qi7/8n21QHuTIU+RGA/XM7pTrK\nhZ0zC+1rQvhljUKbLxGfC09acgfJHhAeqgEUbRfWix8ySzJDEFkFzTZT/JMl\ngORvm2cK/0H6vODaRZNAx5XdWSaLYyGgqGypNiqHZ8lImMD+Rp7H9d7dQPfs\nWs04FZL5QC9GaTfOglPUkprgpYZ64LrFgYz215bxHafTW3lOqRVYdJAAW6HZ\nxsECdwr8g/4ShGOK7EMSjsjL3lBtRGJxekltW/7lWYS3PK92yZ+GxsPQFtJ+\nOxkL\r\n=AhA5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHa+UZrZ6rKLQ050yAZgJu0cJN6gcj/9ALXpb3nC+4/GAiAfVw03FTXKQCti/5RoMQH0ubO2jF5oncHkLUa5vLW5qQ=="}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.1.3_1599925620858_0.5428459516146362"},"_hasShrinkwrap":false},"2.1.4-beta.0":{"name":"http-status-codes","sideEffects":false,"version":"2.1.4-beta.0","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build":"./scripts/build.sh","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./build/cjs/index.js","module":"./build/es/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","ts-node":"^9.0.0","typescript":"^3.9.7"},"readme":"# http-status-codes\n\nConstants enumerating the HTTP status codes. Based on the [Java Apache HttpStatus API](http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpStatus.html).\n\nAll status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), RFC2518 (WebDAV), RFC6585 (Additional HTTP Status Codes), and RFC7538 (Permanent Redirect) are supported.\n\nTypeScript or JavaScript. Completely library agnostic. No dependencies.\n\n## Installation\n\n```console\nnpm install http-status-codes --save\n```\n\n## Usage (express 4.x)\n\n```typescript\nimport {\n\tReasonPhrases,\n\tStatusCodes,\n\tgetReasonPhrase,\n\tgetStatusCode,\n} from 'http-status-codes';\n\nresponse\n\t.status(StatusCodes.OK)\n\t.send(ReasonPhrases.OK);\n\nresponse\n\t.status(StatusCodes.INTERNAL_SERVER_ERROR)\n\t.send({\n\t\terror: getReasonPhrase(StatusCodes.INTERNAL_SERVER_ERROR)\n\t});\n\nresponse\n\t.status(getStatusCode('Internal Server Error'))\n\t.send({\n\t\terror: 'Internal Server Error'\n\t});\n```\n\n## Codes\n\n| Code | Constant                        | Reason Phrase                   |\n| ---- | ------------------------------- | ------------------------------- |\n| 100  | CONTINUE                        | Continue                        |\n| 101  | SWITCHING_PROTOCOLS             | Switching Protocols             |\n| 102  | PROCESSING                      | Processing                      |\n| 200  | OK                              | OK                              |\n| 201  | CREATED                         | Created                         |\n| 202  | ACCEPTED                        | Accepted                        |\n| 203  | NON_AUTHORITATIVE_INFORMATION   | Non Authoritative Information   |\n| 204  | NO_CONTENT                      | No Content                      |\n| 205  | RESET_CONTENT                   | Reset Content                   |\n| 206  | PARTIAL_CONTENT                 | Partial Content                 |\n| 207  | MULTI_STATUS                    | Multi-Status                    |\n| 300  | MULTIPLE_CHOICES                | Multiple Choices                |\n| 301  | MOVED_PERMANENTLY               | Moved Permanently               |\n| 302  | MOVED_TEMPORARILY               | Moved Temporarily               |\n| 303  | SEE_OTHER                       | See Other                       |\n| 304  | NOT_MODIFIED                    | Not Modified                    |\n| 305  | USE_PROXY                       | Use Proxy                       |\n| 307  | TEMPORARY_REDIRECT              | Temporary Redirect              |\n| 308  | PERMANENT_REDIRECT              | Permanent Redirect              |\n| 400  | BAD_REQUEST                     | Bad Request                     |\n| 401  | UNAUTHORIZED                    | Unauthorized                    |\n| 402  | PAYMENT_REQUIRED                | Payment Required                |\n| 403  | FORBIDDEN                       | Forbidden                       |\n| 404  | NOT_FOUND                       | Not Found                       |\n| 405  | METHOD_NOT_ALLOWED              | Method Not Allowed              |\n| 406  | NOT_ACCEPTABLE                  | Not Acceptable                  |\n| 407  | PROXY_AUTHENTICATION_REQUIRED   | Proxy Authentication Required   |\n| 408  | REQUEST_TIMEOUT                 | Request Timeout                 |\n| 409  | CONFLICT                        | Conflict                        |\n| 410  | GONE                            | Gone                            |\n| 411  | LENGTH_REQUIRED                 | Length Required                 |\n| 412  | PRECONDITION_FAILED             | Precondition Failed             |\n| 413  | REQUEST_TOO_LONG                | Request Entity Too Large        |\n| 414  | REQUEST_URI_TOO_LONG            | Request-URI Too Long            |\n| 415  | UNSUPPORTED_MEDIA_TYPE          | Unsupported Media Type          |\n| 416  | REQUESTED_RANGE_NOT_SATISFIABLE | Requested Range Not Satisfiable |\n| 417  | EXPECTATION_FAILED              | Expectation Failed              |\n| 418  | IM_A_TEAPOT                     | I'm a teapot                    |\n| 419  | INSUFFICIENT_SPACE_ON_RESOURCE  | Insufficient Space on Resource  |\n| 420  | METHOD_FAILURE                  | Method Failure                  |\n| 422  | UNPROCESSABLE_ENTITY            | Unprocessable Entity            |\n| 423  | LOCKED                          | Locked                          |\n| 424  | FAILED_DEPENDENCY               | Failed Dependency               |\n| 428  | PRECONDITION_REQUIRED           | Precondition Required           |\n| 429  | TOO_MANY_REQUESTS               | Too Many Requests               |\n| 431  | REQUEST_HEADER_FIELDS_TOO_LARGE | Request Header Fields Too Large |\n| 451  | UNAVAILABLE_FOR_LEGAL_REASONS   | Unavailable For Legal Reasons   |\n| 500  | INTERNAL_SERVER_ERROR           | Internal Server Error           |\n| 501  | NOT_IMPLEMENTED                 | Not Implemented                 |\n| 502  | BAD_GATEWAY                     | Bad Gateway                     |\n| 503  | SERVICE_UNAVAILABLE             | Service Unavailable             |\n| 504  | GATEWAY_TIMEOUT                 | Gateway Timeout                 |\n| 505  | HTTP_VERSION_NOT_SUPPORTED      | HTTP Version Not Supported      |\n| 507  | INSUFFICIENT_STORAGE            | Insufficient Storage            |\n| 511  | NETWORK_AUTHENTICATION_REQUIRED | Network Authentication Required |\n\n## Migrating from v1.x.x\n\nhttp-status-codes v2 is mostly backwards compatible with v1. There is a single breaking change and two recommended changes.\n\n#### [Breaking Change] 'Server Error'\n\nThe reason phrase for the status code `500` has been changed from `\"Server Error\"` to `\"Internal Server Error\"`. This is the correct phrase according to RFC7231. If you are migrating from v1, and have code that relies on the result of `getStatusText(500)` or `getReasonPhrase('Server Error')`, then this could affect you.\n\n#### [Non-breaking change] getStatusText renamed getReasonPhrase\n\nThe function `getStatusText` has been renamed to `getReasonPhrase`. The old function is still available, but may be deprecated in a future version. To fix this simply rename instances of `getStatusText()` to `getReasonPhrase()`. The function is otherwise the same as it was before.\n\n#### [Non-breaking change] StatusCodes\n\nIn http-status-codes v1, Status Codes were exported directly from the top-level module. i.e. `HttpStatus.OK`. In v2 all Status Codes live under an object called `StatusCodes`. i.e. `HttpStatus.StatusCodes.OK`. We made this change to cater to TypeScript users who prefer a dedicated value with an enum type. The previous values are still exported, but we won't continue to update them. Please migrate if you're using the old-style imports.\n\n## Proposing a new status code\n\nIf you'd like to propose a new status code, feel free to update \"codes.json\" with the necessary\ninformation and open a pull request. There is no need to modify source code or even this README.\nThis is done automatically by `npm run update-codes`.\n\nIn general, we try to include only codes that have an official RFC and have been approved, however\nexceptions can be made if the code is already in widespread use in the wild.\n\n## Steps to build and publish\n\n```shell\nnpm run update-codes\nnpm run test\nnpm run build\nnpm version [major | minor | patch]\nnpm publish\n```\n","readmeFilename":"README.md","gitHead":"687c451974991284c96cd4342187401557fbd4b1","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@2.1.4-beta.0","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-BhoBazPOCabab0tOfsdth4/2X5Er/5R0/TJFgCGVnni/+7uFLFAxiYC5JvqvC+exVNznWo8WXBu+KFBjA3ji0w==","shasum":"42fb452743b1a3a9ee2749a57da4b9036196b393","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.1.4-beta.0.tgz","fileCount":11,"unpackedSize":207960,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfXP/QCRA9TVsSAnZWagAAaeEP/RMKOmXVAMPbkkWkRmAf\nY/rsxWjswGP4jZgNf/tSc9SmhWpNjhDBB4oCaZE1MStEqgXhM0VbmGGlxBX+\npDGrM2eRDUsIy+5xQlu89YbTltnoE/6by5S8iWj7fMmtEaLMFr/YyyaxKWcl\nawEneHOYwH4mE8KKdCRkCG2yVrn6ssPu2Z6fRmPt6jhXwdQfs5tSrmVfdODZ\nM/NUdoJzH0Vryz0cF73nlSpc0CVGCWJZx3QPLg6CmsGtTy71CeHI/INKwhFT\nwb8IEyP5iWxDGfqlLCgynyoV6B7Cf1Q1wtQEMmSHBgJtzEXcbRJkqpXq67n9\nH2mLv+lG1UzfAnmDsXPcu2rXIL5ophQLtnp1G/euEaZ07Ivs1ic20UxbCSh0\nscIP1g+ccuKw9F4UqsiM5Xx3sk22oltACPZgTRiuu69gaHyDpU1qfDhX4xYy\nAbOFo6BF/OhhMCjXk43aCQmjqR7q6bp52Vr//KlqjDje/wUVT+gZayzb4MRP\nDY+NANhC4g9SBIcoLMnbltc7pIVgPZFqHLjdiRRfzezmodrL3gjD779t8axB\n0Ozr4F7qTIVarK1LFdc8OPT6gbVcoRRTFGhsEzgq3cobvLFX+AYtPA72j7UJ\noKDRM2xGOSc/K+hvj4Gp6fdPiL5OCnQQaPqKI2cU1Xwq1zz3rMo+2VAOcbRz\nkah8\r\n=lTz+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFtnNlZbbybjDZtHfgPJCaPPgLiNWd/aakWmByVpLFzgIhAKp0sJ4hnA5nMI3QrOhEd63SJWE9Dv9ELUMZlp854FdD"}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.1.4-beta.0_1599930320327_0.52430520668026"},"_hasShrinkwrap":false},"2.1.4-beta.1":{"name":"http-status-codes","sideEffects":false,"version":"2.1.4-beta.1","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build":"./scripts/build.sh","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./build/cjs/index.js","module":"./build/es/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","ts-node":"^9.0.0","typescript":"^3.9.7"},"readme":"# http-status-codes\n\nConstants enumerating the HTTP status codes. Based on the [Java Apache HttpStatus API](http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpStatus.html).\n\nAll status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), RFC2518 (WebDAV), RFC6585 (Additional HTTP Status Codes), and RFC7538 (Permanent Redirect) are supported.\n\nTypeScript or JavaScript. Completely library agnostic. No dependencies.\n\n## Installation\n\n```console\nnpm install http-status-codes --save\n```\n\n## Usage (express 4.x)\n\n```typescript\nimport {\n\tReasonPhrases,\n\tStatusCodes,\n\tgetReasonPhrase,\n\tgetStatusCode,\n} from 'http-status-codes';\n\nresponse\n\t.status(StatusCodes.OK)\n\t.send(ReasonPhrases.OK);\n\nresponse\n\t.status(StatusCodes.INTERNAL_SERVER_ERROR)\n\t.send({\n\t\terror: getReasonPhrase(StatusCodes.INTERNAL_SERVER_ERROR)\n\t});\n\nresponse\n\t.status(getStatusCode('Internal Server Error'))\n\t.send({\n\t\terror: 'Internal Server Error'\n\t});\n```\n\n## Codes\n\n| Code | Constant                        | Reason Phrase                   |\n| ---- | ------------------------------- | ------------------------------- |\n| 100  | CONTINUE                        | Continue                        |\n| 101  | SWITCHING_PROTOCOLS             | Switching Protocols             |\n| 102  | PROCESSING                      | Processing                      |\n| 200  | OK                              | OK                              |\n| 201  | CREATED                         | Created                         |\n| 202  | ACCEPTED                        | Accepted                        |\n| 203  | NON_AUTHORITATIVE_INFORMATION   | Non Authoritative Information   |\n| 204  | NO_CONTENT                      | No Content                      |\n| 205  | RESET_CONTENT                   | Reset Content                   |\n| 206  | PARTIAL_CONTENT                 | Partial Content                 |\n| 207  | MULTI_STATUS                    | Multi-Status                    |\n| 300  | MULTIPLE_CHOICES                | Multiple Choices                |\n| 301  | MOVED_PERMANENTLY               | Moved Permanently               |\n| 302  | MOVED_TEMPORARILY               | Moved Temporarily               |\n| 303  | SEE_OTHER                       | See Other                       |\n| 304  | NOT_MODIFIED                    | Not Modified                    |\n| 305  | USE_PROXY                       | Use Proxy                       |\n| 307  | TEMPORARY_REDIRECT              | Temporary Redirect              |\n| 308  | PERMANENT_REDIRECT              | Permanent Redirect              |\n| 400  | BAD_REQUEST                     | Bad Request                     |\n| 401  | UNAUTHORIZED                    | Unauthorized                    |\n| 402  | PAYMENT_REQUIRED                | Payment Required                |\n| 403  | FORBIDDEN                       | Forbidden                       |\n| 404  | NOT_FOUND                       | Not Found                       |\n| 405  | METHOD_NOT_ALLOWED              | Method Not Allowed              |\n| 406  | NOT_ACCEPTABLE                  | Not Acceptable                  |\n| 407  | PROXY_AUTHENTICATION_REQUIRED   | Proxy Authentication Required   |\n| 408  | REQUEST_TIMEOUT                 | Request Timeout                 |\n| 409  | CONFLICT                        | Conflict                        |\n| 410  | GONE                            | Gone                            |\n| 411  | LENGTH_REQUIRED                 | Length Required                 |\n| 412  | PRECONDITION_FAILED             | Precondition Failed             |\n| 413  | REQUEST_TOO_LONG                | Request Entity Too Large        |\n| 414  | REQUEST_URI_TOO_LONG            | Request-URI Too Long            |\n| 415  | UNSUPPORTED_MEDIA_TYPE          | Unsupported Media Type          |\n| 416  | REQUESTED_RANGE_NOT_SATISFIABLE | Requested Range Not Satisfiable |\n| 417  | EXPECTATION_FAILED              | Expectation Failed              |\n| 418  | IM_A_TEAPOT                     | I'm a teapot                    |\n| 419  | INSUFFICIENT_SPACE_ON_RESOURCE  | Insufficient Space on Resource  |\n| 420  | METHOD_FAILURE                  | Method Failure                  |\n| 422  | UNPROCESSABLE_ENTITY            | Unprocessable Entity            |\n| 423  | LOCKED                          | Locked                          |\n| 424  | FAILED_DEPENDENCY               | Failed Dependency               |\n| 428  | PRECONDITION_REQUIRED           | Precondition Required           |\n| 429  | TOO_MANY_REQUESTS               | Too Many Requests               |\n| 431  | REQUEST_HEADER_FIELDS_TOO_LARGE | Request Header Fields Too Large |\n| 451  | UNAVAILABLE_FOR_LEGAL_REASONS   | Unavailable For Legal Reasons   |\n| 500  | INTERNAL_SERVER_ERROR           | Internal Server Error           |\n| 501  | NOT_IMPLEMENTED                 | Not Implemented                 |\n| 502  | BAD_GATEWAY                     | Bad Gateway                     |\n| 503  | SERVICE_UNAVAILABLE             | Service Unavailable             |\n| 504  | GATEWAY_TIMEOUT                 | Gateway Timeout                 |\n| 505  | HTTP_VERSION_NOT_SUPPORTED      | HTTP Version Not Supported      |\n| 507  | INSUFFICIENT_STORAGE            | Insufficient Storage            |\n| 511  | NETWORK_AUTHENTICATION_REQUIRED | Network Authentication Required |\n\n## Migrating from v1.x.x\n\nhttp-status-codes v2 is mostly backwards compatible with v1. There is a single breaking change and two recommended changes.\n\n#### [Breaking Change] 'Server Error'\n\nThe reason phrase for the status code `500` has been changed from `\"Server Error\"` to `\"Internal Server Error\"`. This is the correct phrase according to RFC7231. If you are migrating from v1, and have code that relies on the result of `getStatusText(500)` or `getReasonPhrase('Server Error')`, then this could affect you.\n\n#### [Non-breaking change] getStatusText renamed getReasonPhrase\n\nThe function `getStatusText` has been renamed to `getReasonPhrase`. The old function is still available, but may be deprecated in a future version. To fix this simply rename instances of `getStatusText()` to `getReasonPhrase()`. The function is otherwise the same as it was before.\n\n#### [Non-breaking change] StatusCodes\n\nIn http-status-codes v1, Status Codes were exported directly from the top-level module. i.e. `HttpStatus.OK`. In v2 all Status Codes live under an object called `StatusCodes`. i.e. `HttpStatus.StatusCodes.OK`. We made this change to cater to TypeScript users who prefer a dedicated value with an enum type. The previous values are still exported, but we won't continue to update them. Please migrate if you're using the old-style imports.\n\n## Proposing a new status code\n\nIf you'd like to propose a new status code, feel free to update \"codes.json\" with the necessary\ninformation and open a pull request. There is no need to modify source code or even this README.\nThis is done automatically by `npm run update-codes`.\n\nIn general, we try to include only codes that have an official RFC and have been approved, however\nexceptions can be made if the code is already in widespread use in the wild.\n\n## Steps to build and publish\n\n```shell\nnpm run update-codes\nnpm run test\nnpm run build\nnpm version [major | minor | patch]\nnpm publish\n```\n","readmeFilename":"README.md","gitHead":"71ae472b0f10efb2489e99e601043c1e23957942","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@2.1.4-beta.1","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-z535GUvo5WTBcf/3jNGDTolf0pkXT9PqM4KVMH67P7GVdjrqa0Dg4lgx0m5gebOwhobAS29fXUuXctWLtbs+BA==","shasum":"95c157ccf5da9d48696e8fcf68345946ac47362f","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.1.4-beta.1.tgz","fileCount":11,"unpackedSize":207099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfXQMRCRA9TVsSAnZWagAA3lsP/0VIwSJdK8hnfhxg19F5\n9KQhxM+iW6fwwna2hfFMR/cmgofAmBHZZdx/0E7BET+ilOTtpqU42yByTLXk\nAClcyjfd+9yFs4AqcSskTFhH4Po05NcBLSZ/8wqHmPWc5Jhun5Hs7xJfV0zB\nVx/sbROGk/Wnp9O3bM29UuIZLnBA/0nbliDH2+8Th0eQTeitxWjue2eDDbR2\nM/4k2PYuDqV13kBikvThgusedA6INR337uLdw7uq5+j/K/h8VbV1FIi8A3O/\nzH9qkZTPEjZAVttOCzNfKdJMgglBY1R4CaCcuxPOAq32kqOPsGLdulZI0EHj\n/zXAYzQoEAPFvVU198/bZnhSxQCDK0Pf8tkTwRUKMJDsZnkCcdTbeZp/kHYO\npwar4XzczFXlGT2CcA70Yjd/nAMveSej0JUciEeazkoBPZ6OkDE7IjOfv8NZ\nuucsxwt/z1/xEXdRLdUDPrQ2V4FZEp1DdSayO7KyzoFlxY+HcfPxKePp4GfM\nPHEm1K/LRVeRuOdT9vlaK5oLFNPaDVa5KbRyuv2Tc0wkzINQjUp6jfi8fVJ9\nbSUEkLJb01kUqQPrzRImY9fm2/63Pf33xfsB4iIVHDAfC+9cLUrN6rb+islh\nlsih4C5087r0ThuP3BSoU7Ux+w94GGGiBoQtahGSw59J7KQOP+C1kwJaDJAZ\nGSM6\r\n=1MPt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMNp5hLmTMZOzsfWX/CFm+w2vy4goXH5tDRyWfDjB19QIhAJoFj/LLmFyK99JuvSJu9rd63bEYvepgarqwJTmmu/uN"}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.1.4-beta.1_1599931152896_0.5524327292872764"},"_hasShrinkwrap":false},"2.1.4-beta.2":{"name":"http-status-codes","sideEffects":false,"version":"2.1.4-beta.2","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build":"./scripts/build.sh","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./build/cjs/index.js","module":"./build/es/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","ts-node":"^9.0.0","typescript":"^3.9.7"},"readme":"# http-status-codes\n\nConstants enumerating the HTTP status codes. Based on the [Java Apache HttpStatus API](http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpStatus.html).\n\nAll status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), RFC2518 (WebDAV), RFC6585 (Additional HTTP Status Codes), and RFC7538 (Permanent Redirect) are supported.\n\nTypeScript or JavaScript. Completely library agnostic. No dependencies.\n\n## Installation\n\n```console\nnpm install http-status-codes --save\n```\n\n## Usage (express 4.x)\n\n```typescript\nimport {\n\tReasonPhrases,\n\tStatusCodes,\n\tgetReasonPhrase,\n\tgetStatusCode,\n} from 'http-status-codes';\n\nresponse\n\t.status(StatusCodes.OK)\n\t.send(ReasonPhrases.OK);\n\nresponse\n\t.status(StatusCodes.INTERNAL_SERVER_ERROR)\n\t.send({\n\t\terror: getReasonPhrase(StatusCodes.INTERNAL_SERVER_ERROR)\n\t});\n\nresponse\n\t.status(getStatusCode('Internal Server Error'))\n\t.send({\n\t\terror: 'Internal Server Error'\n\t});\n```\n\n## Codes\n\n| Code | Constant                        | Reason Phrase                   |\n| ---- | ------------------------------- | ------------------------------- |\n| 100  | CONTINUE                        | Continue                        |\n| 101  | SWITCHING_PROTOCOLS             | Switching Protocols             |\n| 102  | PROCESSING                      | Processing                      |\n| 200  | OK                              | OK                              |\n| 201  | CREATED                         | Created                         |\n| 202  | ACCEPTED                        | Accepted                        |\n| 203  | NON_AUTHORITATIVE_INFORMATION   | Non Authoritative Information   |\n| 204  | NO_CONTENT                      | No Content                      |\n| 205  | RESET_CONTENT                   | Reset Content                   |\n| 206  | PARTIAL_CONTENT                 | Partial Content                 |\n| 207  | MULTI_STATUS                    | Multi-Status                    |\n| 300  | MULTIPLE_CHOICES                | Multiple Choices                |\n| 301  | MOVED_PERMANENTLY               | Moved Permanently               |\n| 302  | MOVED_TEMPORARILY               | Moved Temporarily               |\n| 303  | SEE_OTHER                       | See Other                       |\n| 304  | NOT_MODIFIED                    | Not Modified                    |\n| 305  | USE_PROXY                       | Use Proxy                       |\n| 307  | TEMPORARY_REDIRECT              | Temporary Redirect              |\n| 308  | PERMANENT_REDIRECT              | Permanent Redirect              |\n| 400  | BAD_REQUEST                     | Bad Request                     |\n| 401  | UNAUTHORIZED                    | Unauthorized                    |\n| 402  | PAYMENT_REQUIRED                | Payment Required                |\n| 403  | FORBIDDEN                       | Forbidden                       |\n| 404  | NOT_FOUND                       | Not Found                       |\n| 405  | METHOD_NOT_ALLOWED              | Method Not Allowed              |\n| 406  | NOT_ACCEPTABLE                  | Not Acceptable                  |\n| 407  | PROXY_AUTHENTICATION_REQUIRED   | Proxy Authentication Required   |\n| 408  | REQUEST_TIMEOUT                 | Request Timeout                 |\n| 409  | CONFLICT                        | Conflict                        |\n| 410  | GONE                            | Gone                            |\n| 411  | LENGTH_REQUIRED                 | Length Required                 |\n| 412  | PRECONDITION_FAILED             | Precondition Failed             |\n| 413  | REQUEST_TOO_LONG                | Request Entity Too Large        |\n| 414  | REQUEST_URI_TOO_LONG            | Request-URI Too Long            |\n| 415  | UNSUPPORTED_MEDIA_TYPE          | Unsupported Media Type          |\n| 416  | REQUESTED_RANGE_NOT_SATISFIABLE | Requested Range Not Satisfiable |\n| 417  | EXPECTATION_FAILED              | Expectation Failed              |\n| 418  | IM_A_TEAPOT                     | I'm a teapot                    |\n| 419  | INSUFFICIENT_SPACE_ON_RESOURCE  | Insufficient Space on Resource  |\n| 420  | METHOD_FAILURE                  | Method Failure                  |\n| 422  | UNPROCESSABLE_ENTITY            | Unprocessable Entity            |\n| 423  | LOCKED                          | Locked                          |\n| 424  | FAILED_DEPENDENCY               | Failed Dependency               |\n| 428  | PRECONDITION_REQUIRED           | Precondition Required           |\n| 429  | TOO_MANY_REQUESTS               | Too Many Requests               |\n| 431  | REQUEST_HEADER_FIELDS_TOO_LARGE | Request Header Fields Too Large |\n| 451  | UNAVAILABLE_FOR_LEGAL_REASONS   | Unavailable For Legal Reasons   |\n| 500  | INTERNAL_SERVER_ERROR           | Internal Server Error           |\n| 501  | NOT_IMPLEMENTED                 | Not Implemented                 |\n| 502  | BAD_GATEWAY                     | Bad Gateway                     |\n| 503  | SERVICE_UNAVAILABLE             | Service Unavailable             |\n| 504  | GATEWAY_TIMEOUT                 | Gateway Timeout                 |\n| 505  | HTTP_VERSION_NOT_SUPPORTED      | HTTP Version Not Supported      |\n| 507  | INSUFFICIENT_STORAGE            | Insufficient Storage            |\n| 511  | NETWORK_AUTHENTICATION_REQUIRED | Network Authentication Required |\n\n## Migrating from v1.x.x\n\nhttp-status-codes v2 is mostly backwards compatible with v1. There is a single breaking change and two recommended changes.\n\n#### [Breaking Change] 'Server Error'\n\nThe reason phrase for the status code `500` has been changed from `\"Server Error\"` to `\"Internal Server Error\"`. This is the correct phrase according to RFC7231. If you are migrating from v1, and have code that relies on the result of `getStatusText(500)` or `getReasonPhrase('Server Error')`, then this could affect you.\n\n#### [Non-breaking change] getStatusText renamed getReasonPhrase\n\nThe function `getStatusText` has been renamed to `getReasonPhrase`. The old function is still available, but may be deprecated in a future version. To fix this simply rename instances of `getStatusText()` to `getReasonPhrase()`. The function is otherwise the same as it was before.\n\n#### [Non-breaking change] StatusCodes\n\nIn http-status-codes v1, Status Codes were exported directly from the top-level module. i.e. `HttpStatus.OK`. In v2 all Status Codes live under an object called `StatusCodes`. i.e. `HttpStatus.StatusCodes.OK`. We made this change to cater to TypeScript users who prefer a dedicated value with an enum type. The previous values are still exported, but we won't continue to update them. Please migrate if you're using the old-style imports.\n\n## Proposing a new status code\n\nIf you'd like to propose a new status code, feel free to update \"codes.json\" with the necessary\ninformation and open a pull request. There is no need to modify source code or even this README.\nThis is done automatically by `npm run update-codes`.\n\nIn general, we try to include only codes that have an official RFC and have been approved, however\nexceptions can be made if the code is already in widespread use in the wild.\n\n## Steps to build and publish\n\n```shell\nnpm run update-codes\nnpm run test\nnpm run build\nnpm version [major | minor | patch]\nnpm publish\n```\n","readmeFilename":"README.md","gitHead":"6f2b9059119ac79d306661aa4e49fb85a1205ee7","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@2.1.4-beta.2","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-SYzTAzSXy8KKEt73fN7DY7dwrwRndRi3UqoDAXW5bQclnuBxWZoy+EvyKWAdt501iA71cihv13ahhpWaILZq8Q==","shasum":"f96ff8fd42cef28b651123424c817975bbf9482c","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.1.4-beta.2.tgz","fileCount":19,"unpackedSize":198734,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfXQQPCRA9TVsSAnZWagAACPwP/1QgkKozZfanpDyliVXk\ntLSMv7dW1Hqp9HUwOiHdcySjCTQU4z30/WejI3GmPGIxpOnWwCjxrHPjABF3\nlhXBnVm89Ysim2tz8vSFLshREIOhKdcl/vMl2UmC3TFYCk2EfDIJUFFh1SBO\ngQVOeawOPiLLMhpeq2QFBvZkPEDDlOAChCKVOmGXPsziXq8jCzyIs24CUc86\nYAqPgqzLGTHQm5LvSRXRRG3gt2B47XSQFl0q7k14MFXpSZirzGG5q797sg0B\nvEo9jgmpzUhDTBXODa9LBMQI5hnvsFCtgAhtJqiFzOD/tyUp3oOVGUCdN6l7\nCvQby2dS8tGzBORLS0CukCthNryZBOEV2WhJ8LLCpH2yvBv0eDaPoYTKhASe\nyjm7IISRaQrfHnOt/fdRwYjUNVU0x1js2i4c5R1CBLeFSntSAEj3XSIt6et1\ns3eLuFhq9J12FIPK50gnXGG+98Ey6tJX2xkcLqdRlys1XXgCCEKM076iPNW7\n4EANY4oq3c0ptJ4KS0R+3+QmKcgx3RwgHf1qritnOoJnsYY5FGrey9hjy3g6\n/6OQs/a4bQ30scHl/NO08YIWPIYfz9jC+DupSpTEHfi9NdmD7Z8QyhJFQFzn\nE+7PeYEaes5lTRT8Dpo1bjqOw3BVMGzbHg2xbIbH0Qf8noQM1CFUBS+Sm7at\nQ5yP\r\n=FsgT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZR8ICWPsPEP3H124cMAvYHbAHihvd/ryZEDB9WGZX5wIhANsBifn1838UNAs6x6f8e9JV0QHDuIFUAowF6a6ypkcl"}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.1.4-beta.2_1599931406915_0.40059546557823844"},"_hasShrinkwrap":false},"2.1.4-beta.3":{"name":"http-status-codes","sideEffects":false,"version":"2.1.4-beta.3","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build":"./scripts/build.sh","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./build/cjs/index.js","module":"./build/es/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","ts-node":"^9.0.0","typescript":"^3.9.7"},"readme":"# http-status-codes\n\nConstants enumerating the HTTP status codes. Based on the [Java Apache HttpStatus API](http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpStatus.html).\n\nAll status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), RFC2518 (WebDAV), RFC6585 (Additional HTTP Status Codes), and RFC7538 (Permanent Redirect) are supported.\n\nTypeScript or JavaScript. Completely library agnostic. No dependencies.\n\n## Installation\n\n```console\nnpm install http-status-codes --save\n```\n\n## Usage (express 4.x)\n\n```typescript\nimport {\n\tReasonPhrases,\n\tStatusCodes,\n\tgetReasonPhrase,\n\tgetStatusCode,\n} from 'http-status-codes';\n\nresponse\n\t.status(StatusCodes.OK)\n\t.send(ReasonPhrases.OK);\n\nresponse\n\t.status(StatusCodes.INTERNAL_SERVER_ERROR)\n\t.send({\n\t\terror: getReasonPhrase(StatusCodes.INTERNAL_SERVER_ERROR)\n\t});\n\nresponse\n\t.status(getStatusCode('Internal Server Error'))\n\t.send({\n\t\terror: 'Internal Server Error'\n\t});\n```\n\n## Codes\n\n| Code | Constant                        | Reason Phrase                   |\n| ---- | ------------------------------- | ------------------------------- |\n| 100  | CONTINUE                        | Continue                        |\n| 101  | SWITCHING_PROTOCOLS             | Switching Protocols             |\n| 102  | PROCESSING                      | Processing                      |\n| 200  | OK                              | OK                              |\n| 201  | CREATED                         | Created                         |\n| 202  | ACCEPTED                        | Accepted                        |\n| 203  | NON_AUTHORITATIVE_INFORMATION   | Non Authoritative Information   |\n| 204  | NO_CONTENT                      | No Content                      |\n| 205  | RESET_CONTENT                   | Reset Content                   |\n| 206  | PARTIAL_CONTENT                 | Partial Content                 |\n| 207  | MULTI_STATUS                    | Multi-Status                    |\n| 300  | MULTIPLE_CHOICES                | Multiple Choices                |\n| 301  | MOVED_PERMANENTLY               | Moved Permanently               |\n| 302  | MOVED_TEMPORARILY               | Moved Temporarily               |\n| 303  | SEE_OTHER                       | See Other                       |\n| 304  | NOT_MODIFIED                    | Not Modified                    |\n| 305  | USE_PROXY                       | Use Proxy                       |\n| 307  | TEMPORARY_REDIRECT              | Temporary Redirect              |\n| 308  | PERMANENT_REDIRECT              | Permanent Redirect              |\n| 400  | BAD_REQUEST                     | Bad Request                     |\n| 401  | UNAUTHORIZED                    | Unauthorized                    |\n| 402  | PAYMENT_REQUIRED                | Payment Required                |\n| 403  | FORBIDDEN                       | Forbidden                       |\n| 404  | NOT_FOUND                       | Not Found                       |\n| 405  | METHOD_NOT_ALLOWED              | Method Not Allowed              |\n| 406  | NOT_ACCEPTABLE                  | Not Acceptable                  |\n| 407  | PROXY_AUTHENTICATION_REQUIRED   | Proxy Authentication Required   |\n| 408  | REQUEST_TIMEOUT                 | Request Timeout                 |\n| 409  | CONFLICT                        | Conflict                        |\n| 410  | GONE                            | Gone                            |\n| 411  | LENGTH_REQUIRED                 | Length Required                 |\n| 412  | PRECONDITION_FAILED             | Precondition Failed             |\n| 413  | REQUEST_TOO_LONG                | Request Entity Too Large        |\n| 414  | REQUEST_URI_TOO_LONG            | Request-URI Too Long            |\n| 415  | UNSUPPORTED_MEDIA_TYPE          | Unsupported Media Type          |\n| 416  | REQUESTED_RANGE_NOT_SATISFIABLE | Requested Range Not Satisfiable |\n| 417  | EXPECTATION_FAILED              | Expectation Failed              |\n| 418  | IM_A_TEAPOT                     | I'm a teapot                    |\n| 419  | INSUFFICIENT_SPACE_ON_RESOURCE  | Insufficient Space on Resource  |\n| 420  | METHOD_FAILURE                  | Method Failure                  |\n| 422  | UNPROCESSABLE_ENTITY            | Unprocessable Entity            |\n| 423  | LOCKED                          | Locked                          |\n| 424  | FAILED_DEPENDENCY               | Failed Dependency               |\n| 428  | PRECONDITION_REQUIRED           | Precondition Required           |\n| 429  | TOO_MANY_REQUESTS               | Too Many Requests               |\n| 431  | REQUEST_HEADER_FIELDS_TOO_LARGE | Request Header Fields Too Large |\n| 451  | UNAVAILABLE_FOR_LEGAL_REASONS   | Unavailable For Legal Reasons   |\n| 500  | INTERNAL_SERVER_ERROR           | Internal Server Error           |\n| 501  | NOT_IMPLEMENTED                 | Not Implemented                 |\n| 502  | BAD_GATEWAY                     | Bad Gateway                     |\n| 503  | SERVICE_UNAVAILABLE             | Service Unavailable             |\n| 504  | GATEWAY_TIMEOUT                 | Gateway Timeout                 |\n| 505  | HTTP_VERSION_NOT_SUPPORTED      | HTTP Version Not Supported      |\n| 507  | INSUFFICIENT_STORAGE            | Insufficient Storage            |\n| 511  | NETWORK_AUTHENTICATION_REQUIRED | Network Authentication Required |\n\n## Migrating from v1.x.x\n\nhttp-status-codes v2 is mostly backwards compatible with v1. There is a single breaking change and two recommended changes.\n\n#### [Breaking Change] 'Server Error'\n\nThe reason phrase for the status code `500` has been changed from `\"Server Error\"` to `\"Internal Server Error\"`. This is the correct phrase according to RFC7231. If you are migrating from v1, and have code that relies on the result of `getStatusText(500)` or `getReasonPhrase('Server Error')`, then this could affect you.\n\n#### [Non-breaking change] getStatusText renamed getReasonPhrase\n\nThe function `getStatusText` has been renamed to `getReasonPhrase`. The old function is still available, but may be deprecated in a future version. To fix this simply rename instances of `getStatusText()` to `getReasonPhrase()`. The function is otherwise the same as it was before.\n\n#### [Non-breaking change] StatusCodes\n\nIn http-status-codes v1, Status Codes were exported directly from the top-level module. i.e. `HttpStatus.OK`. In v2 all Status Codes live under an object called `StatusCodes`. i.e. `HttpStatus.StatusCodes.OK`. We made this change to cater to TypeScript users who prefer a dedicated value with an enum type. The previous values are still exported, but we won't continue to update them. Please migrate if you're using the old-style imports.\n\n## Proposing a new status code\n\nIf you'd like to propose a new status code, feel free to update \"codes.json\" with the necessary\ninformation and open a pull request. There is no need to modify source code or even this README.\nThis is done automatically by `npm run update-codes`.\n\nIn general, we try to include only codes that have an official RFC and have been approved, however\nexceptions can be made if the code is already in widespread use in the wild.\n\n## Steps to build and publish\n\n```shell\nnpm run update-codes\nnpm run test\nnpm run build\nnpm version [major | minor | patch]\nnpm publish\n```\n","readmeFilename":"README.md","gitHead":"2acffada4b9be1bd98eaf5c832d6a66bf314c141","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@2.1.4-beta.3","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-APo5va+6CjZ3mstN3rozGdi9o26tZfv5rfFZvDi5smefoNssw+5MOoolhroD7BA2rhmoR0PBEHr4vL7INOyp9Q==","shasum":"ebb7ed2520142b3dd75bd0f0abc388832e54929a","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.1.4-beta.3.tgz","fileCount":19,"unpackedSize":197490,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfXQSXCRA9TVsSAnZWagAAWWkP/RynnUPvnxz1L0z91h1D\ntpb/JuPIfwITIp1djgHOj6L7YjmNu4JDiy4h55/neHTLwEq4W2aF/FhKZjpp\nBfMj+TuPv4vtZY5E1x6Ixe+JSECPJDqXRzLsNGMvs8Q1efwr9/nbLT/W6lck\nxONG6UeRokZ2gfkz+jY7iPp7dD5SUMJS9bAzWM/QFby1RUXJdbYX9/c1QWLn\nomqV0lVt4pQVQ7KtYYDMS+d0RoGQqbWGR3cRJJw2GsVuj0l4zOlf5aA4bxTT\nR8VhYodc7AQYsssNgpB5c7naxam70XiZ+IEvZG+6+VvblBADl9jZm3mRJB+4\n7e/JvyG0Yt0hujB5gQU8uRvZ04od39/dfzdv/FAb682zsOkd5I+YZm13f+84\n1OSOGA/frB6Y9HzBf9HU5r0awBR/pvGOx+D7hCnco88kuQHUiOc9lzY812kd\nbN/pC9neDAHZVyYOiwUiUCia2oCEZ3Gfsh+oGv0lPktcRG29BiPrtW4/wmAa\ndy4Ns09iMWio6vAaPHqsNxie1wtjJ+jpoC/CPSmkhWEGZl0Tk8wZpWOsCMsc\nbKNy4JSlZk4LvdCQXf1pQVRif+FHkIjA9okdyqhaOLCpcDWU8avwX8Fi7XuV\npMgQdzoMR//pU0EI4BKfD1Dp25xcu4/2js1VXZXxUm3bkE9OaA0IZQkBUZXY\nirB6\r\n=8PlI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDi86R9TdbjSsIYpvzQr+nj1tIT1gqs9vUEA1KEbCGKuAIgK2efxhrFomTi3AV/ePg5jM2/FHfA8Gl69lLXQi8FPEI="}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.1.4-beta.3_1599931543368_0.11130911320768022"},"_hasShrinkwrap":false},"2.1.4-beta.4":{"name":"http-status-codes","sideEffects":false,"version":"2.1.4-beta.4","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build":"./scripts/build.sh","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./build/cjs/index.js","module":"./build/es/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","ts-node":"^9.0.0","typescript":"^3.9.7"},"readme":"# http-status-codes\n\nConstants enumerating the HTTP status codes. Based on the [Java Apache HttpStatus API](http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpStatus.html).\n\nAll status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), RFC2518 (WebDAV), RFC6585 (Additional HTTP Status Codes), and RFC7538 (Permanent Redirect) are supported.\n\nTypeScript or JavaScript. Completely library agnostic. No dependencies.\n\n## Installation\n\n```console\nnpm install http-status-codes --save\n```\n\n## Usage (express 4.x)\n\n```typescript\nimport {\n\tReasonPhrases,\n\tStatusCodes,\n\tgetReasonPhrase,\n\tgetStatusCode,\n} from 'http-status-codes';\n\nresponse\n\t.status(StatusCodes.OK)\n\t.send(ReasonPhrases.OK);\n\nresponse\n\t.status(StatusCodes.INTERNAL_SERVER_ERROR)\n\t.send({\n\t\terror: getReasonPhrase(StatusCodes.INTERNAL_SERVER_ERROR)\n\t});\n\nresponse\n\t.status(getStatusCode('Internal Server Error'))\n\t.send({\n\t\terror: 'Internal Server Error'\n\t});\n```\n\n## Codes\n\n| Code | Constant                        | Reason Phrase                   |\n| ---- | ------------------------------- | ------------------------------- |\n| 100  | CONTINUE                        | Continue                        |\n| 101  | SWITCHING_PROTOCOLS             | Switching Protocols             |\n| 102  | PROCESSING                      | Processing                      |\n| 200  | OK                              | OK                              |\n| 201  | CREATED                         | Created                         |\n| 202  | ACCEPTED                        | Accepted                        |\n| 203  | NON_AUTHORITATIVE_INFORMATION   | Non Authoritative Information   |\n| 204  | NO_CONTENT                      | No Content                      |\n| 205  | RESET_CONTENT                   | Reset Content                   |\n| 206  | PARTIAL_CONTENT                 | Partial Content                 |\n| 207  | MULTI_STATUS                    | Multi-Status                    |\n| 300  | MULTIPLE_CHOICES                | Multiple Choices                |\n| 301  | MOVED_PERMANENTLY               | Moved Permanently               |\n| 302  | MOVED_TEMPORARILY               | Moved Temporarily               |\n| 303  | SEE_OTHER                       | See Other                       |\n| 304  | NOT_MODIFIED                    | Not Modified                    |\n| 305  | USE_PROXY                       | Use Proxy                       |\n| 307  | TEMPORARY_REDIRECT              | Temporary Redirect              |\n| 308  | PERMANENT_REDIRECT              | Permanent Redirect              |\n| 400  | BAD_REQUEST                     | Bad Request                     |\n| 401  | UNAUTHORIZED                    | Unauthorized                    |\n| 402  | PAYMENT_REQUIRED                | Payment Required                |\n| 403  | FORBIDDEN                       | Forbidden                       |\n| 404  | NOT_FOUND                       | Not Found                       |\n| 405  | METHOD_NOT_ALLOWED              | Method Not Allowed              |\n| 406  | NOT_ACCEPTABLE                  | Not Acceptable                  |\n| 407  | PROXY_AUTHENTICATION_REQUIRED   | Proxy Authentication Required   |\n| 408  | REQUEST_TIMEOUT                 | Request Timeout                 |\n| 409  | CONFLICT                        | Conflict                        |\n| 410  | GONE                            | Gone                            |\n| 411  | LENGTH_REQUIRED                 | Length Required                 |\n| 412  | PRECONDITION_FAILED             | Precondition Failed             |\n| 413  | REQUEST_TOO_LONG                | Request Entity Too Large        |\n| 414  | REQUEST_URI_TOO_LONG            | Request-URI Too Long            |\n| 415  | UNSUPPORTED_MEDIA_TYPE          | Unsupported Media Type          |\n| 416  | REQUESTED_RANGE_NOT_SATISFIABLE | Requested Range Not Satisfiable |\n| 417  | EXPECTATION_FAILED              | Expectation Failed              |\n| 418  | IM_A_TEAPOT                     | I'm a teapot                    |\n| 419  | INSUFFICIENT_SPACE_ON_RESOURCE  | Insufficient Space on Resource  |\n| 420  | METHOD_FAILURE                  | Method Failure                  |\n| 422  | UNPROCESSABLE_ENTITY            | Unprocessable Entity            |\n| 423  | LOCKED                          | Locked                          |\n| 424  | FAILED_DEPENDENCY               | Failed Dependency               |\n| 428  | PRECONDITION_REQUIRED           | Precondition Required           |\n| 429  | TOO_MANY_REQUESTS               | Too Many Requests               |\n| 431  | REQUEST_HEADER_FIELDS_TOO_LARGE | Request Header Fields Too Large |\n| 451  | UNAVAILABLE_FOR_LEGAL_REASONS   | Unavailable For Legal Reasons   |\n| 500  | INTERNAL_SERVER_ERROR           | Internal Server Error           |\n| 501  | NOT_IMPLEMENTED                 | Not Implemented                 |\n| 502  | BAD_GATEWAY                     | Bad Gateway                     |\n| 503  | SERVICE_UNAVAILABLE             | Service Unavailable             |\n| 504  | GATEWAY_TIMEOUT                 | Gateway Timeout                 |\n| 505  | HTTP_VERSION_NOT_SUPPORTED      | HTTP Version Not Supported      |\n| 507  | INSUFFICIENT_STORAGE            | Insufficient Storage            |\n| 511  | NETWORK_AUTHENTICATION_REQUIRED | Network Authentication Required |\n\n## Migrating from v1.x.x\n\nhttp-status-codes v2 is mostly backwards compatible with v1. There is a single breaking change and two recommended changes.\n\n#### [Breaking Change] 'Server Error'\n\nThe reason phrase for the status code `500` has been changed from `\"Server Error\"` to `\"Internal Server Error\"`. This is the correct phrase according to RFC7231. If you are migrating from v1, and have code that relies on the result of `getStatusText(500)` or `getReasonPhrase('Server Error')`, then this could affect you.\n\n#### [Non-breaking change] getStatusText renamed getReasonPhrase\n\nThe function `getStatusText` has been renamed to `getReasonPhrase`. The old function is still available, but may be deprecated in a future version. To fix this simply rename instances of `getStatusText()` to `getReasonPhrase()`. The function is otherwise the same as it was before.\n\n#### [Non-breaking change] StatusCodes\n\nIn http-status-codes v1, Status Codes were exported directly from the top-level module. i.e. `HttpStatus.OK`. In v2 all Status Codes live under an object called `StatusCodes`. i.e. `HttpStatus.StatusCodes.OK`. We made this change to cater to TypeScript users who prefer a dedicated value with an enum type. The previous values are still exported, but we won't continue to update them. Please migrate if you're using the old-style imports.\n\n## Proposing a new status code\n\nIf you'd like to propose a new status code, feel free to update \"codes.json\" with the necessary\ninformation and open a pull request. There is no need to modify source code or even this README.\nThis is done automatically by `npm run update-codes`.\n\nIn general, we try to include only codes that have an official RFC and have been approved, however\nexceptions can be made if the code is already in widespread use in the wild.\n\n## Steps to build and publish\n\n```shell\nnpm run update-codes\nnpm run test\nnpm run build\nnpm version [major | minor | patch]\nnpm publish\n```\n","readmeFilename":"README.md","gitHead":"bb59e85f407b4e62d73e0be5a1723324aaae540f","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@2.1.4-beta.4","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-7APcsfh4sWEmPW9Nd4DJdlAr15QaQ2z8fzsTxOLBAmaw/QWBqvgEJU+VbyEvI7PtwDuD2ptpTH/8bWAuwgAsMQ==","shasum":"f935abda6aaeb24995fd6e4cb12c6cc60ffa96b8","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.1.4-beta.4.tgz","fileCount":27,"unpackedSize":209532,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfXS4DCRA9TVsSAnZWagAAAP8P/1dnt2eu4CKfLXJN/tow\nrugtaF+YsZ4unjM/Uw/VF+hGFK6ICGW++TY9Isa9dsUpHgV9VzutThIuymDe\nBjYA5BS802qjHfulyITLhbXHMZLz6UNqlGsi4Us79Qhl5Be3kWQqtPZj8Isn\nCTrzHjev/IAJhqOd1MGATxGDhf6tFMiXeL+CTanqzY81bahdPggD+A9XLfhh\n3ES8hSFM2ew1OawRrkn7jWlFdrixht17eDde6J2N6ORUqCDyYQDMHYHYns8c\nEN61fN5Rmr4enRC3gFEQkYt9S/+LOvrA0phT50ppZR8FLoL0Tngj0bcSbfMR\n1mr6OlE6QVN009GoXBhSxRO3gFrbySVV7W18xz0YdAs+oeUM54blPGuP9fFz\n6S20KbG4PE7w5bsjaRFWqqN9GRQ7beW/QgFXgFEuacr9lxJRE78YZpszNKKj\nlNZfnYshb/JTUyK+Nu5L/DrAcIn2oS3BfTZ7RyaQImtz6O/F23KJ7fZG3DEn\nlf7FX3cyrs2UegRUczGbXtvzmtLuzI9nv1a4iTed82WDvFMz+R0roCDcZM53\n/Gy0JWhSSptSR+4+v25dyZqODUVS5Vj7FCARRZa/tQx4OvtcyMwCnmFcQyHE\nuOUH9i+f8bLYwYHymhcDqBalYQLS1ZmBCEIrsiAbX9njILiGMYK+5B1OJAMX\nOvrN\r\n=KMW7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEaPXtBJTs+Zb7JM+TlDJe+D5wDjpUw+yKHLXwH0FprQIhAM6vEPoAwM3gN4ASoPXHTiHFsm+AxgHzUfJNta0LIvUe"}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.1.4-beta.4_1599942146693_0.002425810856705457"},"_hasShrinkwrap":false},"2.1.4-beta.5":{"name":"http-status-codes","sideEffects":false,"version":"2.1.4-beta.5","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build":"./scripts/build.sh","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./build/cjs/index.js","module":"./build/es/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","ts-node":"^9.0.0","typescript":"^3.9.7"},"readme":"# http-status-codes\n\nConstants enumerating the HTTP status codes. Based on the [Java Apache HttpStatus API](http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpStatus.html).\n\nAll status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), RFC2518 (WebDAV), RFC6585 (Additional HTTP Status Codes), and RFC7538 (Permanent Redirect) are supported.\n\nTypeScript or JavaScript. Completely library agnostic. No dependencies.\n\n## Installation\n\n```console\nnpm install http-status-codes --save\n```\n\n## Usage (express 4.x)\n\n```typescript\nimport {\n\tReasonPhrases,\n\tStatusCodes,\n\tgetReasonPhrase,\n\tgetStatusCode,\n} from 'http-status-codes';\n\nresponse\n\t.status(StatusCodes.OK)\n\t.send(ReasonPhrases.OK);\n\nresponse\n\t.status(StatusCodes.INTERNAL_SERVER_ERROR)\n\t.send({\n\t\terror: getReasonPhrase(StatusCodes.INTERNAL_SERVER_ERROR)\n\t});\n\nresponse\n\t.status(getStatusCode('Internal Server Error'))\n\t.send({\n\t\terror: 'Internal Server Error'\n\t});\n```\n\n## Codes\n\n| Code | Constant                        | Reason Phrase                   |\n| ---- | ------------------------------- | ------------------------------- |\n| 100  | CONTINUE                        | Continue                        |\n| 101  | SWITCHING_PROTOCOLS             | Switching Protocols             |\n| 102  | PROCESSING                      | Processing                      |\n| 200  | OK                              | OK                              |\n| 201  | CREATED                         | Created                         |\n| 202  | ACCEPTED                        | Accepted                        |\n| 203  | NON_AUTHORITATIVE_INFORMATION   | Non Authoritative Information   |\n| 204  | NO_CONTENT                      | No Content                      |\n| 205  | RESET_CONTENT                   | Reset Content                   |\n| 206  | PARTIAL_CONTENT                 | Partial Content                 |\n| 207  | MULTI_STATUS                    | Multi-Status                    |\n| 300  | MULTIPLE_CHOICES                | Multiple Choices                |\n| 301  | MOVED_PERMANENTLY               | Moved Permanently               |\n| 302  | MOVED_TEMPORARILY               | Moved Temporarily               |\n| 303  | SEE_OTHER                       | See Other                       |\n| 304  | NOT_MODIFIED                    | Not Modified                    |\n| 305  | USE_PROXY                       | Use Proxy                       |\n| 307  | TEMPORARY_REDIRECT              | Temporary Redirect              |\n| 308  | PERMANENT_REDIRECT              | Permanent Redirect              |\n| 400  | BAD_REQUEST                     | Bad Request                     |\n| 401  | UNAUTHORIZED                    | Unauthorized                    |\n| 402  | PAYMENT_REQUIRED                | Payment Required                |\n| 403  | FORBIDDEN                       | Forbidden                       |\n| 404  | NOT_FOUND                       | Not Found                       |\n| 405  | METHOD_NOT_ALLOWED              | Method Not Allowed              |\n| 406  | NOT_ACCEPTABLE                  | Not Acceptable                  |\n| 407  | PROXY_AUTHENTICATION_REQUIRED   | Proxy Authentication Required   |\n| 408  | REQUEST_TIMEOUT                 | Request Timeout                 |\n| 409  | CONFLICT                        | Conflict                        |\n| 410  | GONE                            | Gone                            |\n| 411  | LENGTH_REQUIRED                 | Length Required                 |\n| 412  | PRECONDITION_FAILED             | Precondition Failed             |\n| 413  | REQUEST_TOO_LONG                | Request Entity Too Large        |\n| 414  | REQUEST_URI_TOO_LONG            | Request-URI Too Long            |\n| 415  | UNSUPPORTED_MEDIA_TYPE          | Unsupported Media Type          |\n| 416  | REQUESTED_RANGE_NOT_SATISFIABLE | Requested Range Not Satisfiable |\n| 417  | EXPECTATION_FAILED              | Expectation Failed              |\n| 418  | IM_A_TEAPOT                     | I'm a teapot                    |\n| 419  | INSUFFICIENT_SPACE_ON_RESOURCE  | Insufficient Space on Resource  |\n| 420  | METHOD_FAILURE                  | Method Failure                  |\n| 422  | UNPROCESSABLE_ENTITY            | Unprocessable Entity            |\n| 423  | LOCKED                          | Locked                          |\n| 424  | FAILED_DEPENDENCY               | Failed Dependency               |\n| 428  | PRECONDITION_REQUIRED           | Precondition Required           |\n| 429  | TOO_MANY_REQUESTS               | Too Many Requests               |\n| 431  | REQUEST_HEADER_FIELDS_TOO_LARGE | Request Header Fields Too Large |\n| 451  | UNAVAILABLE_FOR_LEGAL_REASONS   | Unavailable For Legal Reasons   |\n| 500  | INTERNAL_SERVER_ERROR           | Internal Server Error           |\n| 501  | NOT_IMPLEMENTED                 | Not Implemented                 |\n| 502  | BAD_GATEWAY                     | Bad Gateway                     |\n| 503  | SERVICE_UNAVAILABLE             | Service Unavailable             |\n| 504  | GATEWAY_TIMEOUT                 | Gateway Timeout                 |\n| 505  | HTTP_VERSION_NOT_SUPPORTED      | HTTP Version Not Supported      |\n| 507  | INSUFFICIENT_STORAGE            | Insufficient Storage            |\n| 511  | NETWORK_AUTHENTICATION_REQUIRED | Network Authentication Required |\n\n## Migrating from v1.x.x\n\nhttp-status-codes v2 is mostly backwards compatible with v1. There is a single breaking change and two recommended changes.\n\n#### [Breaking Change] 'Server Error'\n\nThe reason phrase for the status code `500` has been changed from `\"Server Error\"` to `\"Internal Server Error\"`. This is the correct phrase according to RFC7231. If you are migrating from v1, and have code that relies on the result of `getStatusText(500)` or `getReasonPhrase('Server Error')`, then this could affect you.\n\n#### [Non-breaking change] getStatusText renamed getReasonPhrase\n\nThe function `getStatusText` has been renamed to `getReasonPhrase`. The old function is still available, but may be deprecated in a future version. To fix this simply rename instances of `getStatusText()` to `getReasonPhrase()`. The function is otherwise the same as it was before.\n\n#### [Non-breaking change] StatusCodes\n\nIn http-status-codes v1, Status Codes were exported directly from the top-level module. i.e. `HttpStatus.OK`. In v2 all Status Codes live under an object called `StatusCodes`. i.e. `HttpStatus.StatusCodes.OK`. We made this change to cater to TypeScript users who prefer a dedicated value with an enum type. The previous values are still exported, but we won't continue to update them. Please migrate if you're using the old-style imports.\n\n## Proposing a new status code\n\nIf you'd like to propose a new status code, feel free to update \"codes.json\" with the necessary\ninformation and open a pull request. There is no need to modify source code or even this README.\nThis is done automatically by `npm run update-codes`.\n\nIn general, we try to include only codes that have an official RFC and have been approved, however\nexceptions can be made if the code is already in widespread use in the wild.\n\n## Steps to build and publish\n\n```shell\nnpm run update-codes\nnpm run test\nnpm run build\nnpm version [major | minor | patch]\nnpm publish\n```\n","readmeFilename":"README.md","gitHead":"044c687417f4a7f9bce84196c81c398d14be89e8","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@2.1.4-beta.5","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-v50o1KER8dBbcGRmDqi2H2wNX2HKKUPA6SWFXL4VSyA30g067AHeR+hfIP9B6sRT1A+q6kXchNpq53NcyQao6Q==","shasum":"269e6f8dbf99bf490937a9ed98b59aff174a5be8","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.1.4-beta.5.tgz","fileCount":27,"unpackedSize":214535,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZi4ZCRA9TVsSAnZWagAA5SIP/1TnlurSCcucbNrf+BUA\nbdH3bjo/o66+H3igGB6mvTc1kUQw4wViKWnBX1xmYJxUF8Semqw6bgY0bGrA\njV9eo5iYby4lFTTQXYKMQg0RZf2tK7YWPGlwS4U4cM0EpPUXCaB6tZmCRM8C\nqiwixFTCRurMeirWwJlU9c0cFfeLh3I6Y2tVsalfnYlbPWOR87Qzo7WzNLcv\n4LS/TQ9ZxInJ1ilXlr47tOOfcMDaj5CFMEYz6F0k9ruT9kbRCMu0O+JZqy8q\n44cf0AUOI0R5WzvqsQpt6gV27nbSv3dvrtzsKVmchNekj5rwmPuuAt5BVjXl\ni022JopJSvSMs0EA0vtN/7cDcdUZaCB/DFYI7NBZGpFpEzj44S8zQNbRgisY\nC92dh4Mw1Qb36lFYTcS3FPBUavVZnmpQ2GQK/a0GEfCp5UjWsM3nl+Mx7Iep\ng1NJdzKENHiLy5ZuXcRfVBN6R0q2mRRYmLo9hiz7YJqms79JJGIT3DmKVOtT\n0O3nzEaxMT6hYI5yNGdRSjYn0yBMnOaqURW3+KdWCJUoOZsOGg7H9SveBWhH\n91fc1Zdbogm8AkQKl+ySgdTR2qDIMrdNU68LOYx7nWInNrY9X908QDxdXaIV\nwQM4zzdpg1wC4RDD20kT6qaS5AX6KG9XfsTYW7oPpeGuZGEkjiSrT5xCONSL\nt6qC\r\n=J6ei\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB7tT/zFiSWezUEcYSz03bfBsGFv+wQdMN8L2fAIP5WRAiApjs8R/fp1akoeXBAmUVdHA+jfIZIft9HQDS7xe+4C3Q=="}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.1.4-beta.5_1600531993018_0.4254425518106475"},"_hasShrinkwrap":false},"2.1.4":{"name":"http-status-codes","sideEffects":false,"version":"2.1.4","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build":"./scripts/build.sh","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/node-http-status.git"},"main":"./build/cjs/index.js","module":"./build/es/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","ts-node":"^9.0.0","typescript":"^3.9.7"},"gitHead":"ba5e4b5b2e0621aa40a7dfe4e738ca63934fb122","bugs":{"url":"https://github.com/prettymuchbryce/node-http-status/issues"},"homepage":"https://github.com/prettymuchbryce/node-http-status#readme","_id":"http-status-codes@2.1.4","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-MZVIsLKGVOVE1KEnldppe6Ij+vmemMuApDfjhVSLzyYP+td0bREEYyAoIw9yFePoBXManCuBqmiNP5FqJS5Xkg==","shasum":"453d99b4bd9424254c4f6a9a3a03715923052798","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.1.4.tgz","fileCount":27,"unpackedSize":214528,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZjACCRA9TVsSAnZWagAAzA4P/0Qsk/O/A+03hmQrxlJk\n6+Lj1OIgkS8bywd27GpH5nkj42Oig0qY4kMEE8d9cZNcQtcQTfTu1N9/KDQS\n1QdQJSuF3yz/JoT1dJU5YfL19IPu+I3aXCT77MtW8T82/mx0EuTSSyjySmEK\nBxkTvL1JDbwFR3GI3s5apbXNWh0rmCpsbwutnIphjdOIPAl+UhnZ6p/7XNra\nvipnrPSCEZ8MjX1J/JrirxezNWybjX1bvMlyo4n7mLPfRTiW+eXh4JD/XFT4\nMi+FHgqcU+n4fDE7WjzRRTi1KNpNgbhCEyNuL+eCUo2PtFVKad29js2w0yjU\n8yv1Iu8DietOga02zos59tuQgF+vBKKqYbwD7RiBypVhcZ59sHccwsMyIWC6\nwBbTP1gPtEGCe3p7ksDjcErhZSvU3aWpoZmzsZkRXIS9EchkNED9y4xHNpw/\n12S38hHAMlLeeMh2QhIwiyvz3rRISK0vLXKBvXc29L4rim9aP0VPjTA9LaP8\nEjtqg6S/39AYOBpuP9uFhe8yseOSzH+oS+5FVF0pYW+C2ZHGYowTA1UoCVgD\nyp18c/AyvfH7tPnpb2yIPrCl3tdGzA7W3zhwHswMd86LPiYTuMuIPz2mIrEV\nF6i5mX1ecW9HuOOAo3SSsTDoZMq3T6nuxpNVnktaKVyPyaL6Nb/ycD+P/tWU\n7IEK\r\n=INFZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFx68YBncDU6aTgA8KlOMEgoALmOZORNDvS3uOQfiw1xAiAXUHejOCsx4Dl58Tqg+2KnKVUC03RGUdyO6KkDeMH33w=="}]},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.1.4_1600532481557_0.4774141650243977"},"_hasShrinkwrap":false},"2.1.5-beta.0":{"name":"http-status-codes","sideEffects":false,"version":"2.1.5-beta.0","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build":"./scripts/build.sh","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/http-status-codes.git"},"main":"./build/cjs/index.js","module":"./build/es/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","ts-node":"^9.0.0","typescript":"^3.9.7"},"readme":"# http-status-codes\n\nConstants enumerating the HTTP status codes. Based on the [Java Apache HttpStatus API](http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpStatus.html).\n\nAll status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), RFC2518 (WebDAV), RFC6585 (Additional HTTP Status Codes), and RFC7538 (Permanent Redirect) are supported.\n\nTypeScript or JavaScript. Completely library agnostic. No dependencies.\n\n## Installation\n\n```console\nnpm install http-status-codes --save\n```\n\n## Usage (express 4.x)\n\n```typescript\nimport {\n\tReasonPhrases,\n\tStatusCodes,\n\tgetReasonPhrase,\n\tgetStatusCode,\n} from 'http-status-codes';\n\nresponse\n\t.status(StatusCodes.OK)\n\t.send(ReasonPhrases.OK);\n\nresponse\n\t.status(StatusCodes.INTERNAL_SERVER_ERROR)\n\t.send({\n\t\terror: getReasonPhrase(StatusCodes.INTERNAL_SERVER_ERROR)\n\t});\n\nresponse\n\t.status(getStatusCode('Internal Server Error'))\n\t.send({\n\t\terror: 'Internal Server Error'\n\t});\n```\n\n## Codes\n\n| Code | Constant                        | Reason Phrase                   |\n| ---- | ------------------------------- | ------------------------------- |\n| 100  | CONTINUE                        | Continue                        |\n| 101  | SWITCHING_PROTOCOLS             | Switching Protocols             |\n| 102  | PROCESSING                      | Processing                      |\n| 200  | OK                              | OK                              |\n| 201  | CREATED                         | Created                         |\n| 202  | ACCEPTED                        | Accepted                        |\n| 203  | NON_AUTHORITATIVE_INFORMATION   | Non Authoritative Information   |\n| 204  | NO_CONTENT                      | No Content                      |\n| 205  | RESET_CONTENT                   | Reset Content                   |\n| 206  | PARTIAL_CONTENT                 | Partial Content                 |\n| 207  | MULTI_STATUS                    | Multi-Status                    |\n| 300  | MULTIPLE_CHOICES                | Multiple Choices                |\n| 301  | MOVED_PERMANENTLY               | Moved Permanently               |\n| 302  | MOVED_TEMPORARILY               | Moved Temporarily               |\n| 303  | SEE_OTHER                       | See Other                       |\n| 304  | NOT_MODIFIED                    | Not Modified                    |\n| 305  | USE_PROXY                       | Use Proxy                       |\n| 307  | TEMPORARY_REDIRECT              | Temporary Redirect              |\n| 308  | PERMANENT_REDIRECT              | Permanent Redirect              |\n| 400  | BAD_REQUEST                     | Bad Request                     |\n| 401  | UNAUTHORIZED                    | Unauthorized                    |\n| 402  | PAYMENT_REQUIRED                | Payment Required                |\n| 403  | FORBIDDEN                       | Forbidden                       |\n| 404  | NOT_FOUND                       | Not Found                       |\n| 405  | METHOD_NOT_ALLOWED              | Method Not Allowed              |\n| 406  | NOT_ACCEPTABLE                  | Not Acceptable                  |\n| 407  | PROXY_AUTHENTICATION_REQUIRED   | Proxy Authentication Required   |\n| 408  | REQUEST_TIMEOUT                 | Request Timeout                 |\n| 409  | CONFLICT                        | Conflict                        |\n| 410  | GONE                            | Gone                            |\n| 411  | LENGTH_REQUIRED                 | Length Required                 |\n| 412  | PRECONDITION_FAILED             | Precondition Failed             |\n| 413  | REQUEST_TOO_LONG                | Request Entity Too Large        |\n| 414  | REQUEST_URI_TOO_LONG            | Request-URI Too Long            |\n| 415  | UNSUPPORTED_MEDIA_TYPE          | Unsupported Media Type          |\n| 416  | REQUESTED_RANGE_NOT_SATISFIABLE | Requested Range Not Satisfiable |\n| 417  | EXPECTATION_FAILED              | Expectation Failed              |\n| 418  | IM_A_TEAPOT                     | I'm a teapot                    |\n| 419  | INSUFFICIENT_SPACE_ON_RESOURCE  | Insufficient Space on Resource  |\n| 420  | METHOD_FAILURE                  | Method Failure                  |\n| 422  | UNPROCESSABLE_ENTITY            | Unprocessable Entity            |\n| 423  | LOCKED                          | Locked                          |\n| 424  | FAILED_DEPENDENCY               | Failed Dependency               |\n| 428  | PRECONDITION_REQUIRED           | Precondition Required           |\n| 429  | TOO_MANY_REQUESTS               | Too Many Requests               |\n| 431  | REQUEST_HEADER_FIELDS_TOO_LARGE | Request Header Fields Too Large |\n| 451  | UNAVAILABLE_FOR_LEGAL_REASONS   | Unavailable For Legal Reasons   |\n| 500  | INTERNAL_SERVER_ERROR           | Internal Server Error           |\n| 501  | NOT_IMPLEMENTED                 | Not Implemented                 |\n| 502  | BAD_GATEWAY                     | Bad Gateway                     |\n| 503  | SERVICE_UNAVAILABLE             | Service Unavailable             |\n| 504  | GATEWAY_TIMEOUT                 | Gateway Timeout                 |\n| 505  | HTTP_VERSION_NOT_SUPPORTED      | HTTP Version Not Supported      |\n| 507  | INSUFFICIENT_STORAGE            | Insufficient Storage            |\n| 511  | NETWORK_AUTHENTICATION_REQUIRED | Network Authentication Required |\n\n## Migrating from v1.x.x\n\nhttp-status-codes v2 is mostly backwards compatible with v1. There is a single breaking change and two recommended changes.\n\n#### [Breaking Change] 'Server Error'\n\nThe reason phrase for the status code `500` has been changed from `\"Server Error\"` to `\"Internal Server Error\"`. This is the correct phrase according to RFC7231. If you are migrating from v1, and have code that relies on the result of `getStatusText(500)` or `getReasonPhrase('Server Error')`, then this could affect you.\n\n#### [Non-breaking change] getStatusText renamed getReasonPhrase\n\nThe function `getStatusText` has been renamed to `getReasonPhrase`. The old function is still available, but may be deprecated in a future version. To fix this simply rename instances of `getStatusText()` to `getReasonPhrase()`. The function is otherwise the same as it was before.\n\n#### [Non-breaking change] StatusCodes\n\nIn http-status-codes v1, Status Codes were exported directly from the top-level module. i.e. `HttpStatus.OK`. In v2 all Status Codes live under an object called `StatusCodes`. i.e. `HttpStatus.StatusCodes.OK`. We made this change to cater to TypeScript users who prefer a dedicated value with an enum type. The previous values are still exported, but we won't continue to update them. Please migrate if you're using the old-style imports.\n\n## Proposing a new status code\n\nIf you'd like to propose a new status code, feel free to update \"codes.json\" with the necessary\ninformation and open a pull request. There is no need to modify source code or even this README.\nThis is done automatically by `npm run update-codes`.\n\nIn general, we try to include only codes that have an official RFC and have been approved, however\nexceptions can be made if the code is already in widespread use in the wild.\n\n## Steps to build and publish\n\n```shell\nnpm run update-codes\nnpm run test\nnpm run build\nnpm version [major | minor | patch]\nnpm publish\n```\n","readmeFilename":"README.md","gitHead":"f33c89446829d054adfd1ed9a2118857c238f3c5","bugs":{"url":"https://github.com/prettymuchbryce/http-status-codes/issues"},"homepage":"https://github.com/prettymuchbryce/http-status-codes#readme","_id":"http-status-codes@2.1.5-beta.0","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-3tQC6vOnFK7EZpqdKHpKy7q9P8wUQCQ1qdPvItRi4oVShwWz/dmkmBLcu+FD7uJgyj6++B8DaL2bFyXErgAvcw==","shasum":"f1d20509aa900f5324553e9663e200f39aad60ea","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.1.5-beta.0.tgz","fileCount":27,"unpackedSize":214536,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfuwkbCRA9TVsSAnZWagAAIL0P/3brfh++8IJ74XCehzFj\nmoJp2WH5GbwPqnh5sAR1PtW8UbK3R4hmrKMzqFN/kBc7J1RNZQP+qOFwFswQ\nMptvohnthZob5vSQxV4FsMe0CuD3Fn1hhopkJzX8e3Mw5OFAiuJB/nU2W+uD\ndD6WyAYAgwttQZwDd7EKc3Ub1Yf1Bj9pZTrSvi/j2izFvOkTZeFxIhFKYQ4t\nEJyGLzBtH3l2hhCoTfgksnONOEYt0VHuf6qlOCYWF0jzOrEUEahcF4Dw6SZ+\nNSYcunegqT5gvTHjDNPMkH24Mc9FCfV44Dt0Fjy2w9M3cQ01Z7qUU/AfKwm4\nUGEjwXlTAYA80iaFYpxdRS3yIjl3ybC0kYL2L5HwWRGUIAJ98ZCN1N5z8evx\nZD92weRmzvvg18KsM3cABHjJyZq7gVxHwD0vy0yHLZQHRd9a+YXznUYyOjZj\nQy1ptpRYJlk2qkheGtXh0I52vW3l1gUZMIYEECZgwmNwGeU2awRnJGt2455F\npMtbdxbBodXYc8QTnB+s0OLTovuCZQldEM99iZKaxWzk2qYH8iqjGCBVmd/F\ni6KcKsgDtHZDRjsEXYJ4Yvmh1yFSONeesCX4EUCcC8A6Pl4trocy4b4NL772\niG5d/Cq6ZONxzV0ypRrIzlA7VKMPFYnTIrJT6jAz3ko7piLBxRSuX91YxadZ\nWROA\r\n=+VFS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDKlQwqXu+zbwJZOX+uWdWOI/XDmYveXMctz8Nhrlkl7AiB3eikCrJze0T37CroavHWdsBjnl3TjwvanAEQug3eCMA=="}]},"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.1.5-beta.0_1606093083169_0.7145632227052776"},"_hasShrinkwrap":false},"2.1.5-beta.1":{"name":"http-status-codes","sideEffects":false,"version":"2.1.5-beta.1","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build":"./scripts/build.sh","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/http-status-codes.git"},"main":"./build/cjs/index.js","module":"./build/es/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","ts-node":"^9.0.0","typescript":"^3.9.7"},"readme":"# http-status-codes\n\nConstants enumerating the HTTP status codes. Based on the [Java Apache HttpStatus API](http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpStatus.html).\n\nAll status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), RFC2518 (WebDAV), RFC6585 (Additional HTTP Status Codes), and RFC7538 (Permanent Redirect) are supported.\n\nTypeScript or JavaScript. Completely library agnostic. No dependencies.\n\n## Installation\n\n```console\nnpm install http-status-codes --save\n```\n\n## Usage (express 4.x)\n\n```typescript\nimport {\n\tReasonPhrases,\n\tStatusCodes,\n\tgetReasonPhrase,\n\tgetStatusCode,\n} from 'http-status-codes';\n\nresponse\n\t.status(StatusCodes.OK)\n\t.send(ReasonPhrases.OK);\n\nresponse\n\t.status(StatusCodes.INTERNAL_SERVER_ERROR)\n\t.send({\n\t\terror: getReasonPhrase(StatusCodes.INTERNAL_SERVER_ERROR)\n\t});\n\nresponse\n\t.status(getStatusCode('Internal Server Error'))\n\t.send({\n\t\terror: 'Internal Server Error'\n\t});\n```\n\n## Codes\n\n| Code | Constant                        | Reason Phrase                   |\n| ---- | ------------------------------- | ------------------------------- |\n| 100  | CONTINUE                        | Continue                        |\n| 101  | SWITCHING_PROTOCOLS             | Switching Protocols             |\n| 102  | PROCESSING                      | Processing                      |\n| 200  | OK                              | OK                              |\n| 201  | CREATED                         | Created                         |\n| 202  | ACCEPTED                        | Accepted                        |\n| 203  | NON_AUTHORITATIVE_INFORMATION   | Non Authoritative Information   |\n| 204  | NO_CONTENT                      | No Content                      |\n| 205  | RESET_CONTENT                   | Reset Content                   |\n| 206  | PARTIAL_CONTENT                 | Partial Content                 |\n| 207  | MULTI_STATUS                    | Multi-Status                    |\n| 300  | MULTIPLE_CHOICES                | Multiple Choices                |\n| 301  | MOVED_PERMANENTLY               | Moved Permanently               |\n| 302  | MOVED_TEMPORARILY               | Moved Temporarily               |\n| 303  | SEE_OTHER                       | See Other                       |\n| 304  | NOT_MODIFIED                    | Not Modified                    |\n| 305  | USE_PROXY                       | Use Proxy                       |\n| 307  | TEMPORARY_REDIRECT              | Temporary Redirect              |\n| 308  | PERMANENT_REDIRECT              | Permanent Redirect              |\n| 400  | BAD_REQUEST                     | Bad Request                     |\n| 401  | UNAUTHORIZED                    | Unauthorized                    |\n| 402  | PAYMENT_REQUIRED                | Payment Required                |\n| 403  | FORBIDDEN                       | Forbidden                       |\n| 404  | NOT_FOUND                       | Not Found                       |\n| 405  | METHOD_NOT_ALLOWED              | Method Not Allowed              |\n| 406  | NOT_ACCEPTABLE                  | Not Acceptable                  |\n| 407  | PROXY_AUTHENTICATION_REQUIRED   | Proxy Authentication Required   |\n| 408  | REQUEST_TIMEOUT                 | Request Timeout                 |\n| 409  | CONFLICT                        | Conflict                        |\n| 410  | GONE                            | Gone                            |\n| 411  | LENGTH_REQUIRED                 | Length Required                 |\n| 412  | PRECONDITION_FAILED             | Precondition Failed             |\n| 413  | REQUEST_TOO_LONG                | Request Entity Too Large        |\n| 414  | REQUEST_URI_TOO_LONG            | Request-URI Too Long            |\n| 415  | UNSUPPORTED_MEDIA_TYPE          | Unsupported Media Type          |\n| 416  | REQUESTED_RANGE_NOT_SATISFIABLE | Requested Range Not Satisfiable |\n| 417  | EXPECTATION_FAILED              | Expectation Failed              |\n| 418  | IM_A_TEAPOT                     | I'm a teapot                    |\n| 419  | INSUFFICIENT_SPACE_ON_RESOURCE  | Insufficient Space on Resource  |\n| 420  | METHOD_FAILURE                  | Method Failure                  |\n| 422  | UNPROCESSABLE_ENTITY            | Unprocessable Entity            |\n| 423  | LOCKED                          | Locked                          |\n| 424  | FAILED_DEPENDENCY               | Failed Dependency               |\n| 428  | PRECONDITION_REQUIRED           | Precondition Required           |\n| 429  | TOO_MANY_REQUESTS               | Too Many Requests               |\n| 431  | REQUEST_HEADER_FIELDS_TOO_LARGE | Request Header Fields Too Large |\n| 451  | UNAVAILABLE_FOR_LEGAL_REASONS   | Unavailable For Legal Reasons   |\n| 500  | INTERNAL_SERVER_ERROR           | Internal Server Error           |\n| 501  | NOT_IMPLEMENTED                 | Not Implemented                 |\n| 502  | BAD_GATEWAY                     | Bad Gateway                     |\n| 503  | SERVICE_UNAVAILABLE             | Service Unavailable             |\n| 504  | GATEWAY_TIMEOUT                 | Gateway Timeout                 |\n| 505  | HTTP_VERSION_NOT_SUPPORTED      | HTTP Version Not Supported      |\n| 507  | INSUFFICIENT_STORAGE            | Insufficient Storage            |\n| 511  | NETWORK_AUTHENTICATION_REQUIRED | Network Authentication Required |\n\n## Migrating from v1.x.x\n\nhttp-status-codes v2 is mostly backwards compatible with v1. There is a single breaking change and two recommended changes.\n\n#### [Breaking Change] 'Server Error'\n\nThe reason phrase for the status code `500` has been changed from `\"Server Error\"` to `\"Internal Server Error\"`. This is the correct phrase according to RFC7231. If you are migrating from v1, and have code that relies on the result of `getStatusText(500)` or `getReasonPhrase('Server Error')`, then this could affect you.\n\n#### [Non-breaking change] getStatusText renamed getReasonPhrase\n\nThe function `getStatusText` has been renamed to `getReasonPhrase`. The old function is still available, but may be deprecated in a future version. To fix this simply rename instances of `getStatusText()` to `getReasonPhrase()`. The function is otherwise the same as it was before.\n\n#### [Non-breaking change] StatusCodes\n\nIn http-status-codes v1, Status Codes were exported directly from the top-level module. i.e. `HttpStatus.OK`. In v2 all Status Codes live under an object called `StatusCodes`. i.e. `HttpStatus.StatusCodes.OK`. We made this change to cater to TypeScript users who prefer a dedicated value with an enum type. The previous values are still exported, but we won't continue to update them. Please migrate if you're using the old-style imports.\n\n## Proposing a new status code\n\nIf you'd like to propose a new status code, feel free to update \"codes.json\" with the necessary\ninformation and open a pull request. There is no need to modify source code or even this README.\nThis is done automatically by `npm run update-codes`.\n\nIn general, we try to include only codes that have an official RFC and have been approved, however\nexceptions can be made if the code is already in widespread use in the wild.\n\n## Steps to build and publish\n\n```shell\nnpm run update-codes\nnpm run test\nnpm run build\nnpm version [major | minor | patch]\nnpm publish\n```\n","readmeFilename":"README.md","gitHead":"529df2ac116c033c9da57142906549076d44079d","bugs":{"url":"https://github.com/prettymuchbryce/http-status-codes/issues"},"homepage":"https://github.com/prettymuchbryce/http-status-codes#readme","_id":"http-status-codes@2.1.5-beta.1","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-PlAm3wcAJrghL1JcsucnG+q7uPwP6l12VVQzVKS7FGJWa+r8gdxebtIS7kHiy5Em84nLKMw7S/VS4fWra3i1mw==","shasum":"ce38c917672c1a989586d3894ed1199afd352f69","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.1.5-beta.1.tgz","fileCount":27,"unpackedSize":206678,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfuwopCRA9TVsSAnZWagAAyPAP/3BZ491KLyZXdmBnct1Q\n0CEyDWOiruTAmmWUBAzqXcNRBCvJIXxRcqtIliDl7tuZKb5E6PbrFhzsauxf\nEgSOMfuophtibwE5gRZlvKe9Jf9N2OFoGsM+SjSDbsVPEXTCgTVYWcOU9W9m\noT65etyZXbJDtiJ43JKwFkG3oq4iqSst379Cbu8vKj5QLNZxCwRW362eCAaU\nhhxo3us+DPunfGhBuFdCtg1Ylso6UZE/YXyi/j2aLIAUkh8VpCa9a6uUsuBz\nuj/k+tBK6MsTZ/UXH013uavm9jw2N5AhgQ0T+J8SSgd5kJ/eB/h2Qpuaq16R\nCPbookE+sxem0OxhJ6bai//MiXC0nIIvlP8ycj7GI6DnUvv8XTB9wYx2ccJo\nQnWkCofa56KkGGHlqYe2A76YU4pcyTcK2Nbl5Q2hGOCJ+QOr1E6OoDjMS6We\nIXpppJLlZW9iJDXBntqcyzMMmXF7KPDxHIjxluvGSBniXOLqkK3q/McZzocq\nzegkhQdTO+zx7E9NUBuSBgcoz4TbdsaP2FtuqPTcxoZmUo6LHnzgMQnjzp8g\n87uFnGH+xIHwhHs2ygGxtZUL5gOeOmBLsC6Gr8DcJhi4dSG7Kwo1lraHIsBj\nY2OAPzPwuFmxod4Jma4kP3DQ29GZwlllQmzijikvgOCHO6lco/IZSVIAGiSM\n5+0z\r\n=ahM5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGTnMbQBqnUPbGHOwKv/Ufi5ZskA7WyOAzf+UZ4KbwewAiEAjgX0La5X6/eyPVY3JCKEB23HEcG1s72ABr0+NHqlNZQ="}]},"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.1.5-beta.1_1606093353315_0.30901126518758604"},"_hasShrinkwrap":false},"2.2.0":{"name":"http-status-codes","sideEffects":false,"version":"2.2.0","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build":"./scripts/build.sh","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/http-status-codes.git"},"main":"./build/cjs/index.js","module":"./build/es/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","ts-node":"^9.0.0","typescript":"^3.9.7"},"gitHead":"b6dbaa44118be9b8202022a740397663f7f849e0","bugs":{"url":"https://github.com/prettymuchbryce/http-status-codes/issues"},"homepage":"https://github.com/prettymuchbryce/http-status-codes#readme","_id":"http-status-codes@2.2.0","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-feERVo9iWxvnejp3SEfm/+oNG517npqL2/PIA8ORjyOZjGC7TwCRQsZylciLS64i6pJ0wRYz3rkXLRwbtFa8Ng==","shasum":"bb2efe63d941dfc2be18e15f703da525169622be","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.2.0.tgz","fileCount":27,"unpackedSize":217620,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhyHMcCRA9TVsSAnZWagAAfNcP/2qViYChOEarAM2aCXuh\nQqavmcgoxODiPz7P+24CmBIqlbHV6BEtfRCDEqgJezDBJxDugY2s6LayJ+kk\njwZSvd79uc3wDoK9ouaeBMZyJWrPtLzoAlPC+GQHSQXTu0mocXSwkGRNTQUg\n9cw3m543PoLaNNp/plROlI+UuxOrk882QIHFhN8n/qic41LXg6yVLtAc37ag\nfkcwB844LyddDM1uKs+TspeyLQ4mLWaJWeg00nEEv8433gmqX6uDgkoKDvVR\nH/wpMnbR8tYFB0WDmL+TQzuWVUMbv+4Yx16mSiVGFj2XmmESqx1iVk3DGEqE\nDwHMg7OeFgRZjM8B9wSfspn9Dg5qMHGeGhBFmgMp6+QAB7JeRwZjrMA4zzK4\nujEAwLQ9hchVzyvKwtxdF99rCw3qldCW7JfEZaisf3+Zr8SJU2uAVACSCrLU\nPa5wuyM3xubm3ZbX+Iiu0/a3fXMhtOVWCj5ZbR+xPqsLUBtQNrtlTbOyiDLe\n53XLF1AUNEJiSIhSN+sRHqBaDPcNCNmBc4GQKD88LRLeERpz2QhQ897yYOKh\nFCp3M/1H0CS26KoJCMK28FZW5np+NR73O3O9YGJqD2w+k6IQnSHZIwxVaXMI\ntIbKhqhjmIjfFdQnDvAg07XoL0UytSU+tkHqT02LcEUjwfOHyvJZY1QOgYNM\n2sNg\r\n=atWE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxQ/7LXp+ifTXBqDZWrvoXl2McqD2dIi3ZWaMe+tXPRgIgV/4+LGw0l5fKNYpBUO80//wJWPpC7riVb7m+ujrKdeQ="}]},"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.2.0_1640526620823_0.4971176400787489"},"_hasShrinkwrap":false},"2.3.0":{"name":"http-status-codes","sideEffects":false,"version":"2.3.0","description":"Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.","scripts":{"update-codes":"ts-node --project ./scripts/tsconfig.json ./scripts/update-codes","build":"./scripts/build.sh","lint":"eslint .","test":"jest ./src"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/http-status-codes.git"},"main":"./build/cjs/index.js","module":"./build/es/index.js","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"author":{"name":"Bryce Neal"},"license":"MIT","devDependencies":{"@types/fs-extra":"^9.0.1","@types/jest":"^26.0.10","@types/markdown-table":"^2.0.0","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.1","eslint":"^7.7.0","eslint-config-airbnb-typescript":"^9.0.0","eslint-plugin-import":"^2.22.0","fs-extra":"^9.0.1","jest":"^26.4.0","markdown-table":"^2.0.0","ts-jest":"^26.2.0","ts-morph":"^7.3.0","ts-node":"^9.0.0","typescript":"^3.9.7"},"gitHead":"a895dc5b6a2e5ae3081d43bdb73f8dd9fc80bc07","bugs":{"url":"https://github.com/prettymuchbryce/http-status-codes/issues"},"homepage":"https://github.com/prettymuchbryce/http-status-codes#readme","_id":"http-status-codes@2.3.0","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-RJ8XvFvpPM/Dmc5SV+dC4y5PCeOhT3x1Hq0NU3rjGeg5a/CqlhZ7uudknPwZFz4aeAXDcbAyaeP7GAo9lvngtA==","shasum":"987fefb28c69f92a43aecc77feec2866349a8bfc","tarball":"https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.3.0.tgz","fileCount":27,"unpackedSize":223052,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlM/eUwrqSIt22wnW+xh1d4vYmHF1q8v3KnnQZlFyNRQIhAMT+arTOPyhQXFweTMpFG0ENw/pxoFRpjbCBYkk9bET3"}]},"_npmUser":{"name":"prettymuchbryce","email":"brycedneal@gmail.com"},"directories":{},"maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-status-codes_2.3.0_1695203913625_0.40494548535650066"},"_hasShrinkwrap":false}},"readme":"# http-status-codes\n\nConstants enumerating the HTTP status codes. Based on the [Java Apache HttpStatus API](http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpStatus.html).\n\nAll status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), RFC2518 (WebDAV), RFC6585 (Additional HTTP Status Codes), and RFC7538 (Permanent Redirect) are supported.\n\nTypeScript or JavaScript. Completely library agnostic. No dependencies.\n\n## Installation\n\n```console\nnpm install http-status-codes --save\n```\n\n## Usage (express 4.x)\n\n```typescript\nimport {\n\tReasonPhrases,\n\tStatusCodes,\n\tgetReasonPhrase,\n\tgetStatusCode,\n} from 'http-status-codes';\n\nresponse\n\t.status(StatusCodes.OK)\n\t.send(ReasonPhrases.OK);\n\nresponse\n\t.status(StatusCodes.INTERNAL_SERVER_ERROR)\n\t.send({\n\t\terror: getReasonPhrase(StatusCodes.INTERNAL_SERVER_ERROR)\n\t});\n\nresponse\n\t.status(getStatusCode('Internal Server Error'))\n\t.send({\n\t\terror: 'Internal Server Error'\n\t});\n```\n\n## Codes\n\n| Code | Constant                        | Reason Phrase                   |\n| ---- | ------------------------------- | ------------------------------- |\n| 100  | CONTINUE                        | Continue                        |\n| 101  | SWITCHING_PROTOCOLS             | Switching Protocols             |\n| 102  | PROCESSING                      | Processing                      |\n| 103  | EARLY_HINTS                     | Early Hints                     |\n| 200  | OK                              | OK                              |\n| 201  | CREATED                         | Created                         |\n| 202  | ACCEPTED                        | Accepted                        |\n| 203  | NON_AUTHORITATIVE_INFORMATION   | Non Authoritative Information   |\n| 204  | NO_CONTENT                      | No Content                      |\n| 205  | RESET_CONTENT                   | Reset Content                   |\n| 206  | PARTIAL_CONTENT                 | Partial Content                 |\n| 207  | MULTI_STATUS                    | Multi-Status                    |\n| 300  | MULTIPLE_CHOICES                | Multiple Choices                |\n| 301  | MOVED_PERMANENTLY               | Moved Permanently               |\n| 302  | MOVED_TEMPORARILY               | Moved Temporarily               |\n| 303  | SEE_OTHER                       | See Other                       |\n| 304  | NOT_MODIFIED                    | Not Modified                    |\n| 305  | USE_PROXY                       | Use Proxy                       |\n| 307  | TEMPORARY_REDIRECT              | Temporary Redirect              |\n| 308  | PERMANENT_REDIRECT              | Permanent Redirect              |\n| 400  | BAD_REQUEST                     | Bad Request                     |\n| 401  | UNAUTHORIZED                    | Unauthorized                    |\n| 402  | PAYMENT_REQUIRED                | Payment Required                |\n| 403  | FORBIDDEN                       | Forbidden                       |\n| 404  | NOT_FOUND                       | Not Found                       |\n| 405  | METHOD_NOT_ALLOWED              | Method Not Allowed              |\n| 406  | NOT_ACCEPTABLE                  | Not Acceptable                  |\n| 407  | PROXY_AUTHENTICATION_REQUIRED   | Proxy Authentication Required   |\n| 408  | REQUEST_TIMEOUT                 | Request Timeout                 |\n| 409  | CONFLICT                        | Conflict                        |\n| 410  | GONE                            | Gone                            |\n| 411  | LENGTH_REQUIRED                 | Length Required                 |\n| 412  | PRECONDITION_FAILED             | Precondition Failed             |\n| 413  | REQUEST_TOO_LONG                | Request Entity Too Large        |\n| 414  | REQUEST_URI_TOO_LONG            | Request-URI Too Long            |\n| 415  | UNSUPPORTED_MEDIA_TYPE          | Unsupported Media Type          |\n| 416  | REQUESTED_RANGE_NOT_SATISFIABLE | Requested Range Not Satisfiable |\n| 417  | EXPECTATION_FAILED              | Expectation Failed              |\n| 418  | IM_A_TEAPOT                     | I'm a teapot                    |\n| 419  | INSUFFICIENT_SPACE_ON_RESOURCE  | Insufficient Space on Resource  |\n| 420  | METHOD_FAILURE                  | Method Failure                  |\n| 421  | MISDIRECTED_REQUEST             | Misdirected Request             |\n| 422  | UNPROCESSABLE_ENTITY            | Unprocessable Entity            |\n| 423  | LOCKED                          | Locked                          |\n| 424  | FAILED_DEPENDENCY               | Failed Dependency               |\n| 426  | UPGRADE_REQUIRED                | Upgrade Required                |\n| 428  | PRECONDITION_REQUIRED           | Precondition Required           |\n| 429  | TOO_MANY_REQUESTS               | Too Many Requests               |\n| 431  | REQUEST_HEADER_FIELDS_TOO_LARGE | Request Header Fields Too Large |\n| 451  | UNAVAILABLE_FOR_LEGAL_REASONS   | Unavailable For Legal Reasons   |\n| 500  | INTERNAL_SERVER_ERROR           | Internal Server Error           |\n| 501  | NOT_IMPLEMENTED                 | Not Implemented                 |\n| 502  | BAD_GATEWAY                     | Bad Gateway                     |\n| 503  | SERVICE_UNAVAILABLE             | Service Unavailable             |\n| 504  | GATEWAY_TIMEOUT                 | Gateway Timeout                 |\n| 505  | HTTP_VERSION_NOT_SUPPORTED      | HTTP Version Not Supported      |\n| 507  | INSUFFICIENT_STORAGE            | Insufficient Storage            |\n| 511  | NETWORK_AUTHENTICATION_REQUIRED | Network Authentication Required |\n\n## Migrating from v1.x.x\n\nhttp-status-codes v2 is mostly backwards compatible with v1. There is a single breaking change and two recommended changes.\n\n#### [Breaking Change] 'Server Error'\n\nThe reason phrase for the status code `500` has been changed from `\"Server Error\"` to `\"Internal Server Error\"`. This is the correct phrase according to RFC7231. If you are migrating from v1, and have code that relies on the result of `getStatusText(500)` or `getReasonPhrase('Server Error')`, then this could affect you.\n\n#### [Non-breaking change] getStatusText renamed getReasonPhrase\n\nThe function `getStatusText` has been renamed to `getReasonPhrase`. The old function is still available, but may be deprecated in a future version. To fix this simply rename instances of `getStatusText()` to `getReasonPhrase()`. The function is otherwise the same as it was before.\n\n#### [Non-breaking change] StatusCodes\n\nIn http-status-codes v1, Status Codes were exported directly from the top-level module. i.e. `HttpStatus.OK`. In v2 all Status Codes live under an object called `StatusCodes`. i.e. `HttpStatus.StatusCodes.OK`. We made this change to cater to TypeScript users who prefer a dedicated value with an enum type. The previous values are still exported, but we won't continue to update them. Please migrate if you're using the old-style imports.\n\n## Proposing a new status code\n\nIf you'd like to propose a new status code, feel free to update \"codes.json\" with the necessary\ninformation and open a pull request. There is no need to modify source code or even this README.\nThis is done automatically by `npm run update-codes`.\n\nIn general, we try to include only codes that have an official RFC and have been approved, however\nexceptions can be made if the code is already in widespread use in the wild.\n\n## Steps to build and publish\n\n```shell\nnpm run update-codes\nnpm run test\nnpm run build\nnpm version [major | minor | patch]\nnpm publish\n```\n\nAfter releasing, please add release notes via GitHub Releases.\n","maintainers":[{"name":"prettymuchbryce","email":"brycedneal@gmail.com"}],"time":{"modified":"2023-09-20T09:58:34.090Z","created":"2013-05-14T00:10:14.003Z","1.0.0":"2013-05-14T00:10:14.596Z","1.0.1":"2013-05-14T00:21:33.535Z","1.0.2":"2013-05-14T00:25:59.099Z","1.0.3":"2014-12-17T04:48:13.163Z","1.0.4":"2015-01-15T04:45:00.302Z","1.0.5":"2015-02-15T19:07:19.262Z","1.0.6":"2016-02-06T21:56:37.426Z","1.1.6":"2017-01-21T18:59:27.337Z","1.2.0":"2017-07-24T22:21:24.488Z","1.3.0":"2017-09-09T18:52:39.006Z","1.3.1":"2019-03-06T09:49:31.093Z","1.3.2":"2019-03-15T21:33:18.712Z","1.4.0":"2019-10-27T15:34:52.460Z","2.0.0-beta.0":"2020-08-22T19:30:10.551Z","2.0.0-beta.1":"2020-08-22T19:41:19.861Z","2.0.0-beta.2":"2020-08-22T20:07:16.368Z","2.0.0-beta.3":"2020-08-22T21:14:43.086Z","2.0.0-beta.4":"2020-08-23T17:36:23.685Z","2.0.0-beta.5":"2020-08-23T17:42:34.594Z","2.0.0-beta.6":"2020-08-23T17:44:50.645Z","2.0.0-beta.7":"2020-08-23T17:47:12.756Z","2.0.0-beta.8":"2020-08-23T18:05:08.317Z","2.0.0-beta.9":"2020-08-23T19:37:38.072Z","2.0.0":"2020-08-23T19:44:01.437Z","2.1.0":"2020-08-23T21:07:59.662Z","2.1.1":"2020-08-23T22:56:56.239Z","2.1.2":"2020-08-24T19:18:42.703Z","2.1.3-beta.0":"2020-09-04T03:53:08.459Z","2.1.3":"2020-09-12T15:47:01.008Z","2.1.4-beta.0":"2020-09-12T17:05:20.433Z","2.1.4-beta.1":"2020-09-12T17:19:13.037Z","2.1.4-beta.2":"2020-09-12T17:23:27.163Z","2.1.4-beta.3":"2020-09-12T17:25:43.486Z","2.1.4-beta.4":"2020-09-12T20:22:26.826Z","2.1.4-beta.5":"2020-09-19T16:13:13.127Z","2.1.4":"2020-09-19T16:21:21.671Z","2.1.5-beta.0":"2020-11-23T00:58:03.297Z","2.1.5-beta.1":"2020-11-23T01:02:33.548Z","2.2.0":"2021-12-26T13:50:20.968Z","2.3.0":"2023-09-20T09:58:33.896Z"},"author":{"name":"Bryce Neal"},"repository":{"type":"git","url":"git+https://github.com/prettymuchbryce/http-status-codes.git"},"homepage":"https://github.com/prettymuchbryce/http-status-codes#readme","keywords":["node","http","apache","HttpStatus","httpclient","status","codes"],"bugs":{"url":"https://github.com/prettymuchbryce/http-status-codes/issues"},"license":"MIT","readmeFilename":"README.md","users":{"david-martin":true,"invelo":true,"jsumners":true,"ubi":true,"tobiasnickel":true,"nickeltobias":true,"crusaderltd":true,"alin.alexa":true,"patoi":true,"ivan.marquez":true,"arielfr":true,"trevorgowing":true,"guywicks":true,"sbekrin":true,"kodekracker":true,"sadmansamee":true,"astesio":true,"chad007":true,"craigpatten":true,"sergiocarneiro":true,"joaquin.briceno":true,"shoresh319":true,"gamersdelight":true,"snowdream":true,"kerimdzhanov":true,"piecioshka":true}}