# http-status-validator

> Simple way to validate HTTP Status code.

Latest version **1.1.0** (published 2017-08-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install http-status-validator
pnpm add http-status-validator
yarn add http-status-validator
bun add http-status-validator
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2017-08-31 |
| First published | 2017-08-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Charles Rocha Dantas |
| Maintainers | charlesrocha |
| Keywords | http, status, validator |

## Links

- npm: https://www.npmjs.com/package/http-status-validator
- Repository: https://github.com/charlesrochati/http-status-validator
- Homepage: https://github.com/charlesrochati/http-status-validator#readme
- Issues: https://github.com/charlesrochati/http-status-validator/issues
- npm.io page: https://npm.io/package/http-status-validator

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2017-08-31
- 1.0.9 — 2017-08-25
- 1.0.8 — 2017-08-25
- 1.0.7 — 2017-08-25
- 1.0.6 — 2017-08-25
- 1.0.5 — 2017-08-25
- 1.0.4 — 2017-08-25
- 1.0.3 — 2017-08-25
- 1.0.2 — 2017-08-25
- 1.0.1 — 2017-08-25
- 1.0.0 — 2017-08-25

## README

# HTTP Status Validator

[![npm](https://img.shields.io/npm/l/express.svg)]()
<img src="https://img.shields.io/badge/dependencies-none-green.svg">
<img src="https://img.shields.io/badge/coverage-100%25-brightgreen.svg">


<a href="https://nodei.co/npm/http-status-validator/"><img src="https://nodei.co/npm/http-status-validator.png?downloads=true&downloadRank=true&stars=true"></a>

Simple way to validate HTTP Status code

## Installation

```sh
$ npm install --save http-status-validator
```


## Usage

```javascript
//CommonsJS
var statusValidator = require('http-status-validator');

//ES6 syntax
import statusValidator from 'http-status-validator'

var responseStatus = response.status;
if (statusValidator(responseStatus).equalsTo(200)) {
    //..
}
```

## License 
MIT

---
_Source: https://npm.io/package/http-status-validator · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
