cheeto
v0.0.2
Published
top level domain bot that returns and or validates url tlds -- command line utility as well
Downloads
3
Maintainers
Readme
cheeto
- returns and or validates top level domains
- command line utility that lists and filters icann.org tlds alphabetically
installation
npm install cheeto
usage
var cheeto = require('./cheeto').cheeto()
console.log(cheeto.get('http://npmjs.org')) // org
console.log(cheeto.isValid('http://nodeschool.io')) // true
console.log(cheeto.isValid(['is','http://nodejs.org','http://beepboop.net','cropdust'])) // [1,1,1,0]
command line
cheeto list will return all icann.org recognized tlds
cheeto char will return all tlds that start with char -- e.g. char d returns all tlds that start with 'd'
cheeto update will crawl icann.org servers and add any new tlds. It also logs some relevant data to the console.