random-zipcode

1.0.2 • Public • Published

random-zipcode

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

MIT License

build:? coverage:?

Install

$ npm install --save random-zipcode 

Usage

var randomZip = require('random-zipcode');
 
// API
// - randomZip();
// - randomZip(plusFour);
 
randomZip();
// => '90210'

Can optionally specify that it ought to return a Zip+4:

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

Related

Contributing

Pull requests and stars are highly welcome.

For bugs and feature requests, please create an issue.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    43
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    43
  • 1.0.1
    0
  • 1.0.0
    0
  • 0.0.0
    0

Package Sidebar

Install

npm i random-zipcode

Weekly Downloads

43

Version

1.0.2

License

MIT

Last publish

Collaborators

  • bubkoo