# http-status-code-registry

> Fetches the HTTP status codes from the IANA registry.

Latest version **0.2.0** (published 2025-03-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install http-status-code-registry
pnpm add http-status-code-registry
yarn add http-status-code-registry
bun add http-status-code-registry
```

## Health

**Score 25/100 (F)** — status: maintenance-mode.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2025-03-17 |
| First published | 2018-03-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=18 |
| Dependencies | 0 |
| Unpacked size | 5.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | James Benner |
| Maintainers | radioactivehamster |
| Keywords | http, status, codes, iana, registry |

## Links

- npm: https://www.npmjs.com/package/http-status-code-registry
- Repository: https://github.com/jbenner-radham/node-http-status-code-registry
- Homepage: https://github.com/jbenner-radham/node-http-status-code-registry#readme
- Issues: https://github.com/jbenner-radham/node-http-status-code-registry/issues
- npm.io page: https://npm.io/package/http-status-code-registry

## Recent versions

- 0.2.0 (latest) — 2025-03-17
- 0.1.0 — 2018-03-12

## README

http-status-code-registry
=========================
[![npm](https://img.shields.io/npm/v/http-status-code-registry.svg?)](https://www.npmjs.com/package/http-status-code-registry)
[![node](https://img.shields.io/node/v/http-status-code-registry.svg?)](https://nodejs.org/)
[![build](https://img.shields.io/travis/jbenner-radham/node-http-status-code-registry.svg?)](https://travis-ci.org/jbenner-radham/node-http-status-code-registry)
[![license](https://img.shields.io/github/license/jbenner-radham/node-http-status-code-registry.svg?)](LICENSE)

Fetches the HTTP status codes from the [IANA registry](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml).

Install
-------
```sh
$ yarn add http-status-code-registry # Or alternatively: `npm install http-status-code-registry`
```

Usage
-----
```js
'use strict';

const httpStatusCodeRegistry = require('http-status-code-registry');

(async () => {
    try {
        console.log(await httpStatusCodeRegistry());
    } catch (e) {
        console.error(e);
    }
})();
```

Testing
-------
```sh
$ yarn test # Or alternatively: `npm test`
```

License
-------
The MIT License (Expat). See the [license file](LICENSE) for details.

---
_Source: https://npm.io/package/http-status-code-registry · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
