Files
SupportBot-Dashboard/node_modules/chance/docs/web/domain.md
T
2021-02-02 13:50:53 +00:00

299 B

domain

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

Return a random domain with a random tld.

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

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

chance.domain({tld: 'ie'})
=> 'gotaujo.ie'