tld-list
Version:
A list of all valid top-level domains and is updated from time to time.
38 lines (21 loc) • 1.06 kB
Markdown
# tld-list
> A list of all valid top-level domains and is updated from time to time.
[](https://github.com/mock-end/tld-list/blob/master/LICENSE)
[](https://travis-ci.org/mock-end/tld-list)
A list of all valid top-level domains is maintained by the [IANA](http://www.iana.org/) and is updated from time to time.
Click [here](http://data.iana.org/TLD/tlds-alpha-by-domain.txt) to view the list.
## Install
```
$ npm install --save tld-list
```
## Usage
```js
var tlds = require('tld-list');
console.log(tlds);
```
## Related
- [random-tld](https://github.com/mock-end/random-tld) - Return a random tld.
- [pick-item](https://github.com/mock-end/pick-item) - Randomly sampling a item from an array.
## Contributing
Pull requests and stars are highly welcome.
For bugs and feature requests, please [create an issue](https://github.com/mock-end/tld-list/issues/new).