1.0.5 • Published 3 months ago

http-status-text v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months ago

HTTP Status Text

HTTP Status Text is a simple JavaScript module that returns the corresponding status text for a given HTTP status code. It can be easily integrated into Node.js projects as well as front-end JavaScript applications.

Features

  • Returns the corresponding status text for any HTTP status code.
  • Compatible with both Node.js and browser environments.
  • Lightweight and fast implementation for efficient usage.

Installation

npm install http-status-text

Usage

const { httpStatusText } = require("http-status-text");

console.log(httpStatusText(200)); // "OK"
console.log(httpStatusText(404)); // "Not Found"
console.log(httpStatusText(500)); // "Internal Server Error"
1.0.5

3 months ago

1.0.2

3 months ago

1.0.4

3 months ago

1.0.3

3 months ago

1.0.1

3 months ago

1.0.0

3 months ago