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

domain

// usage randBox.domain() randBox.domain({tld: 'com'})

Return a random domain with a random tld.

randBox.domain() => 'onaro.net'

Optionally specify a tld and the domain will be random but the tld will not.

randBox.domain({tld: 'ie'}) => 'gotaujo.ie'
Last updated on: