1.0.9 • Published 1 year ago

another-http-status v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago