# is-valid-zip

> Validates U.S. zip code

Latest version **0.0.5** (published 2018-12-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-valid-zip
pnpm add is-valid-zip
yarn add is-valid-zip
bun add is-valid-zip
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2018-12-26 |
| First published | 2014-12-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Miguel Mota |
| Maintainers | miguelmota |
| Keywords | validate, validator, zip, postal code |

## Links

- npm: https://www.npmjs.com/package/is-valid-zip
- Repository: https://github.com/miguelmota/is-valid-zip
- Issues: https://github.com/miguelmota/is-valid-zip/issues
- npm.io page: https://npm.io/package/is-valid-zip

## Alternatives

- [lodash.startswith](https://npm.io/package/lodash.startswith.md) — 769.7K weekly downloads
- [@tarojs/service](https://npm.io/package/@tarojs/service.md) — 33.9K weekly downloads
- [io.extendreality.tilia.indicators.spatialtargets.unity](https://npm.io/package/io.extendreality.tilia.indicators.spatialtargets.unity.md) — 131 weekly downloads
- [@rtarojs/taro](https://npm.io/package/@rtarojs/taro.md) — 90 weekly downloads
- [node-branch-io](https://npm.io/package/node-branch-io.md) — 50 weekly downloads

## Recent versions

- 0.0.5 (latest) — 2018-12-26
- 0.0.4 — 2018-12-26
- 0.0.3 — 2014-12-02
- 0.0.2 — 2014-12-02
- 0.0.1 — 2014-12-02

## README

# is-valid-zip

> Validates U.S. zip code in JavaScript

## Install

```bash
npm install is-valid-zip
```

## Usage

```javascript
var isValidZip = require('is-valid-zip');

isValidZip(11743) // true
isValidZip('11743-6961') // true
isValidZip('11743-6') // false
isValidZip(11743344) // false
isValidZip(144) // false
```

## License

MIT

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