File: tld.md

package info (click to toggle)
node-chance 2.2.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,612 kB
  • sloc: javascript: 16,572; makefile: 4
file content (16 lines) | stat: -rw-r--r-- 255 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# tld

```js
// usage
chance.tld()
```

Return a random tld ([Top Level Domain][tld]) from the 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