0.01
No commit activity in last 3 years
No release in over 3 years
Simply check if a domain has been registered ( or if it is resolvable ) to determine if it's available.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
~> 10.0
~> 3.0

Runtime

 Project Readme

🙈 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.