cheeto

0.0.2 • Public • Published

cheeto

  1. returns and or validates top level domains
  2. 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.

Package Sidebar

Install

npm i cheeto

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • anikan