Skip to content

Latest commit

 

History

History
69 lines (43 loc) · 1.33 KB

README.md

File metadata and controls

69 lines (43 loc) · 1.33 KB

costatus

NPM

NPM version build codecov

HTTP response status codes. See docs.

Quick Start

import { OK } from 'costatus';

console.log(OK); // 200

Installation

NPM:

npm install costatus

Yarn:

yarn add costatus

Usage

ES Modules

Namespace import:

import * as costatus from 'costatus';

Named import:

import { OK } from 'costatus';

CommonJS

Namespace require:

const costatus = require('costatus');

Named require:

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

Release

Release is automated with Release Please.

License

MIT