{"id":27931454,"url":"https://github.com/eneoli/domain-check","last_synced_at":"2025-05-07T03:52:53.183Z","repository":{"id":47972159,"uuid":"201789446","full_name":"eneoli/domain-check","owner":"eneoli","description":"A promise based lib to check if a domain name is available or not","archived":false,"fork":false,"pushed_at":"2022-12-30T18:34:31.000Z","size":124,"stargazers_count":3,"open_issues_count":6,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-25T18:55:58.809Z","etag":null,"topics":["check","domain","domain-check","javascript","js","tool","ts","typescript","web","whois"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eneoli.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-11T16:34:57.000Z","updated_at":"2020-08-26T22:32:43.000Z","dependencies_parsed_at":"2023-01-31T13:10:15.206Z","dependency_job_id":null,"html_url":"https://github.com/eneoli/domain-check","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eneoli%2Fdomain-check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eneoli%2Fdomain-check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eneoli%2Fdomain-check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eneoli%2Fdomain-check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eneoli","download_url":"https://codeload.github.com/eneoli/domain-check/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252495268,"owners_count":21757228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["check","domain","domain-check","javascript","js","tool","ts","typescript","web","whois"],"created_at":"2025-05-07T03:52:52.515Z","updated_at":"2025-05-07T03:52:53.171Z","avatar_url":"https://github.com/eneoli.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# domain-check [![Build Status](https://travis-ci.org/EneOli/domain-check.svg?branch=master)](https://travis-ci.org/EneOli/domain-check)\ndomain-check is a node module using promises allowing to check if a domain is free to register or not\n\n# Installation\n```bash\nnpm install domain-check --save\nyarn add domain-check\nbower install domain-check --save\n```\n\n# Usage\n\nTo check if a domain is free you can create a new `Domain` object...\n\n```js\nconst domainCheck = require('domain-check');\nconst Domain = domainCheck.Domain;\n\n...\n\nconst domain = new Domain('google.de');\nconsole.log(await domain.isFree());\n\n```\n\nor use the static method `isFree` of the Domain class\n\n```js\n    const Domain = require('domain-check').Domain;\n\n    ...\n\n    const isFree = await Domain.isFree('google.de');\n    console.log(isFree);\n```\n\n# Known issues\n\nIt might be that the module shows an registered domain as available to register. This is because the underlying library [node-whois](https://github.com/FurqanSoftware/node-whois) can not handle newer tlds. A fix is in progress.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feneoli%2Fdomain-check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feneoli%2Fdomain-check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feneoli%2Fdomain-check/lists"}