UNPKG

chance

Version:

Chance - Utility library to generate anything random

17 lines (11 loc) 308 B
# tld ```js // usage chance.tld() ``` Return a random tld ([Top Level Domain][tld]) from the list of 2-letter country tld list plus the following set: ```js ['com', 'org', 'edu', 'gov', 'uk', 'net', 'io'] ``` Note, these do not start with a period. [tld]: https://en.wikipedia.org/wiki/Top-level_domain