# random-zipcode

> Generate a random (U.S.) zip code.

Latest version **1.0.2** (published 2016-04-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install random-zipcode
pnpm add random-zipcode
yarn add random-zipcode
bun add random-zipcode
```

## 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.0.2 |
| Published | 2016-04-25 |
| First published | 2016-04-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | bubkoo |
| Maintainers | bubkoo |
| Keywords | zip, zipcode, U.S., location, random, randomly, randomize, chance, test, dice, mock |

## Links

- npm: https://www.npmjs.com/package/random-zipcode
- Repository: https://github.com/mock-end/random-zipcode
- Homepage: https://github.com/mock-end/random-zipcode#readme
- Issues: https://github.com/mock-end/random-zipcode/issues
- npm.io page: https://npm.io/package/random-zipcode

## Dependencies (1)

- [random-natural](https://npm.io/package/random-natural.md) ^1.0.3

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads
- [aws-elasticsearch-connector](https://npm.io/package/aws-elasticsearch-connector.md) — 37.4K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2016-04-25
- 1.0.1 — 2016-04-24
- 1.0.0 — 2016-04-18
- 0.0.0 — 2016-04-03

## README

# random-zipcode

> Generate a random (U.S.) zip code.

[![MIT License](https://img.shields.io/badge/license-MIT_License-green.svg?style=flat-square)](https://github.com/mock-end/random-zipcode/blob/master/LICENSE)

[![build:?](https://img.shields.io/travis/mock-end/random-zipcode/master.svg?style=flat-square)](https://travis-ci.org/mock-end/random-zipcode)
[![coverage:?](https://img.shields.io/coveralls/mock-end/random-zipcode/master.svg?style=flat-square)](https://coveralls.io/github/mock-end/random-zipcode)


## Install

```
$ npm install --save random-zipcode 
```

## Usage

```js
var randomZip = require('random-zipcode');

// API
// - randomZip();
// - randomZip(plusFour);

randomZip();
// => '90210'
```

Can optionally specify that it ought to return a [Zip+4](http://vq.io/19rzsve):

```js
randomZip(true);
// => '01035-1838'
```

## Related

- [random-areacode](https://github.com/mock-end/random-areacode) - Generate a random (U.S.) area code.
- [random-mobile](https://github.com/mock-end/random-mobile) - Generate a random (U.S.) mobile phone number.

## Contributing

Pull requests and stars are highly welcome.

For bugs and feature requests, please [create an issue](https://github.com/mock-end/random-zipcode/issues/new).

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