Skip to Content
๐ŸŽฒ Welcome to RandBox - Powerful JavaScript Random Data Generation Library! Learn More

zip

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

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

randBox.zip(); => '90210'

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

randBox.zip({plusfour: true}); => '01035-1838'
Last updated on: