1.0.9 • Published 3 years ago

another-http-status v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

anotherhttp-status

another-http-status is a module I created to simplify handling STATUS codes.

Installation

npm install another-http-status

Usage

CommonJS:

const { OK } = require('http-status');

console.log(String(OK), typeof String(OK), Number(OK), typeof Number(OK));
// OK string 200 number

ES6 Module:

import { OK } from 'http-status';

console.log(String(OK), typeof String(OK), Number(OK), typeof Number(OK));
// OK string 200 number

License

MIT

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago