https://github.com/shgysk8zer0/http-status
A simple module for HTTP status codes
https://github.com/shgysk8zer0/http-status
http http-status javascript module
Last synced: 10 months ago
JSON representation
A simple module for HTTP status codes
- Host: GitHub
- URL: https://github.com/shgysk8zer0/http-status
- Owner: shgysk8zer0
- License: mit
- Created: 2023-05-15T17:02:18.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2025-02-28T14:56:41.000Z (12 months ago)
- Last Synced: 2025-02-28T20:23:32.054Z (12 months ago)
- Topics: http, http-status, javascript, module
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@shgysk8zer0/http-status
- Size: 199 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# @shgysk8zer0/http-status
A simple module for HTTP status codes
[](https://github.com/shgysk8zer0/http-status/blob/master/LICENSE)
[](https://github.com/shgysk8zer0/http-status/commits/master)
[](https://github.com/shgysk8zer0/http-status/releases)
[](https://github.com/sponsors/shgysk8zer0)
[](https://github.com/shgysk8zer0/http-status/actions/workflows/codeql-analysis.yml)
[](https://www.npmjs.com/package/@shgysk8zer0/http-status)

[](https://www.npmjs.com/package/@shgysk8zer0/http-status
)
[](https://github.com/shgysk8zer0)


[](https://twitter.com/shgysk8zer0)
[](https://liberapay.com/shgysk8zer0/donate "Donate using Liberapay")
- - -
- [Code of Conduct](./.github/CODE_OF_CONDUCT.md)
- [Contributing](./.github/CONTRIBUTING.md)
## Installation
### NPM
```bash
npm i @shgysk8zer0/http-status
```
## Usage
### ES Module
```js
import { status } from '@shgysk8zer0/http-status';
// or
import { status } from 'https://unpkg.com/@shgysk8zer0@1.0.2/http-status.js';
console.log(status.OK); // 200
```