MOON
Server: Apache
System: Linux 54-179-220-51.cprapid.com 3.10.0-1160.144.1.el7.tuxcare.els4.x86_64 #1 SMP Tue Apr 7 08:40:40 UTC 2026 x86_64
User: thehunarfound (1001)
PHP: 7.4.29
Disabled: NONE
Upload Files
File: /home/thehunarfound/www/DMS/node_modules/node-status-codes/readme.md
# node-status-codes [![Build Status](https://travis-ci.org/sindresorhus/node-status-codes.svg?branch=master)](https://travis-ci.org/sindresorhus/node-status-codes)

> Node.js `http.STATUS_CODES` ponyfill

> Ponyfill: A polyfill that doesn't overwrite the native method

The built-in list of HTTP status codes [differ](https://github.com/nodejs/io.js/commit/8be6060020) between Node.js versions, so this is a good way to make sure it's consistent. Will be kept up to date with latest Node.js.


## Install

```
$ npm install --save node-status-codes
```


## Usage

```js
var nodeStatusCodes = require('node-status-codes');

console.log(nodeStatusCodes[200]);
//=> 'OK'

console.log(nodeStatusCodes[500]);
//=> 'Internal Server Error'
```


## License

MIT © [Sindre Sorhus](http://sindresorhus.com)