✅ Free to use! 🌍 A powerful CLI tool to check domain name availability using WHOIS. Supports checking multiple domains at the same time. Works both as a CLI tool and as a Node.js module.
Install globally via npm:
npm install -g domain-lookup
Or using yarn:
yarn global add domain-lookup
Or install it in a Node.js project:
npm install domain-lookup
You can check the availability of a single domain using the following command:
domain-lookup google.com
If the domain is available, you will see:
✅ google.com is Available!
If the domain is not available, you will see:
❌ google.com is Not Available!
You can check multiple domains at once by providing a .txt
file containing a list of domain names.
Create a text file (e.g., domains.txt
) and list the domains you want to check, one per line:
google.com
mywebsite.net
randomdomain.org
example.io
Run the following command to check all domains listed in the file:
domain-lookup -f domains.txt
After running the command, you will see an output like this:
✅ mywebsite.net is Available!
❌ google.com is Not Available!
✅ randomdomain.org is Available!
❌ example.io is Not Available!
📌 This allows you to quickly scan multiple domains without having to check them one by one! 🚀
npm install domain-lookup
const { checkDomain, checkDomainsFromFile } = require("domain-lookup");
checkDomain("example.com")
.then(() => console.log("Check complete!"))
.catch(err => console.error("Error:", err));
checkDomainsFromFile("domains.txt")
.then(() => console.log("Batch check complete!"))
.catch(err => console.error("Error:", err));
📌 You can now use domain-lookup
in any Node.js project! 🚀
Checks a single domain's availability.
Checks multiple domains listed in a text file.
Contributions are welcome! Fork the repository, create a branch, make changes, and submit a PR. 🚀
This project is licensed under the MIT License.
- GitHub Issues: Report Bugs or Request Features
- Give a Star: ⭐ If you like this package, consider giving it a star on GitHub!
🚀 Happy Coding! 🎮✨