1.0.9 • Published 2 years ago

another-http-status v1.0.9

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

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago