costatus

costatus

NPM

NPM version build codecov

HTTP response status codes. See docs.

import { OK } from 'costatus';

console.log(OK); // 200

NPM:

npm install costatus

Yarn:

yarn add costatus

Namespace import:

import * as costatus from 'costatus';

Named import:

import { OK } from 'costatus';

Namespace require:

const costatus = require('costatus');

Named require:

const { OK } = require('costatus');

Release is automated with Release Please.

MIT