Gr3atWh173 / is_available

Simply check if a domain has been registered ( or if it is resolvable ) to determine if it's available.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🙈 Is Available

Simply check if a domain has been registered ( or if it is resolvable ) to determine if it's available.

Installation

$ gem install is_available

Usage

When you install is_available you install a Ruby library and command-line application.

Library

require "is_available"

IsAvailable.available?("www-facebook.com")
# => false

IsAvailable.registered?("www-facebook.com")
# => true

IsAvailable.resolvable?("www-facebook.com")
# => false

CLI Application

> is_available --check www-facebook.com
www-facebook.com is not available!
> is_available --check wwwwww-facebook.com
www-facebook.com is available!
> is_available --registered --true-or-false www-facebook.com
false

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the IsAvailable project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

About

Simply check if a domain has been registered ( or if it is resolvable ) to determine if it's available.

License:MIT License


Languages

Language:Ruby 100.0%