Files
SupportBot/node_modules/chance/docs/location/zip.md
T
2021-02-02 13:50:53 +00:00

294 B

zip

// usage
chance.zip()
chance.zip({plusfour: true})

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

chance.zip();
=> '90210'

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

chance.zip({plusfour: true});
=> '01035-1838'