Generate a random (U.S.) zip code.
$ npm install --save random-zipcode
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'
Pull requests and stars are highly welcome.
For bugs and feature requests, please create an issue.