{"id":44939831,"url":"https://github.com/zaferatli/domain-searcher","last_synced_at":"2026-02-18T08:06:55.407Z","repository":{"id":246006229,"uuid":"818412001","full_name":"zaferatli/domain-searcher","owner":"zaferatli","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-16T23:51:09.000Z","size":56,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-13T06:47:25.148Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zaferatli.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-21T19:51:52.000Z","updated_at":"2024-06-25T15:00:39.000Z","dependencies_parsed_at":"2024-06-25T10:32:54.128Z","dependency_job_id":"f6c1462f-cfe4-4533-b4e9-6fabc37cf420","html_url":"https://github.com/zaferatli/domain-searcher","commit_stats":null,"previous_names":["zaferatli/domainseacher"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/zaferatli/domain-searcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaferatli%2Fdomain-searcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaferatli%2Fdomain-searcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaferatli%2Fdomain-searcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaferatli%2Fdomain-searcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zaferatli","download_url":"https://codeload.github.com/zaferatli/domain-searcher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaferatli%2Fdomain-searcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29573466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T07:57:19.261Z","status":"ssl_error","status_checked_at":"2026-02-18T07:57:18.820Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-02-18T08:06:54.671Z","updated_at":"2026-02-18T08:06:55.402Z","avatar_url":"https://github.com/zaferatli.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔍 DomainSearcher\n\n**DomainSearcher** is a domain status checker.\n\n\u003cimg width=\"656\" alt=\"Ekran Resmi 2024-06-25 11 58 24\" src=\"https://github.com/zaferatli/domainseacher/assets/54990817/db4bcb24-be71-4b04-811c-e6d9a6e6f60d\"\u003e\n\n### Motivation\n\nMost of time we need to browser and some shitty hosting firm's domain search page to check availabity domain.\nI think its aproxmatically takes 10-15 seconds to check single domain, DomainSearcher package takes 1.5s to query including 15 domain extension.\n\n### Highlights\n\n-   Returns domains status\n-   Requires zero config, but configurable when needed\n-   Recognises queries and responses\n-   Uses WHOIS servers from IANA, if not provided\n-   Discover all available TLDs\n\n→ See it in action here https://dmns.app\n\n\n## Getting Started\n\n#### Installation\n```bash\n\nnpm i @zaferatli/domainchecker -g\n```\n\n#### Usage\n\nFrom terminal:\n```bash\n\ndomainSearch google.com --disableCachedWhoisServers=false\n```\n\nFrom JS module:\n```js\nconst domainsearcher = require('@zaferatli/domainchecker')\n\nconst domainInfo = domainsearcher.search('google.com')\n```\n\n→ [See all examples](https://github.com/zaferatli/domainsearcher/tree/main/examples)\n\n### Domain whois\n\nGet WHOIS info for domains.\n\n`domainsearcher.search(domain, options): Promise\u003cObject\u003cwhoisServer\u003e\u003e`\n\n-   `domain` - Domain name, excluding any subdomain. Ex: 'google.com'\n-   `options` - Object of options to use, all optional:\n    -   `hideLogs` - Hide all console include table log.\n    -   `disableCachedWhoisServers` - We cache most used 15 TLDs whoisServer, when set `true` its get from whois.iana.org\n    -   `hideSuggestedDomains` - When query domain we add 15 more domain extension to check, when set `true` its get only you queried\n    -   `showWhoisQuery` - Return whoisQuery result as well, `responseFields` can  be modified according this result.\n    -   `responseFields` - Response could be modified with `\"Last update of whois database,status,created,expiry\"`\n    -   `suggestedDomainArray` - Can be specify auto suggested domain with `com,net,org`\n\n\n\n```js\nconst domainsearcher = require('@zaferatli/domainchecker')\n\n;(async () =\u003e {\n    const domainName = 'google.com'\n\n    const domainWhois = await domainsearcher.search(domainName)\n\n    console.log(domainWhois)\n})()\n```\n\nReturns a promise which resolves with an `Object` of WHOIS servers checked:\n\n```js\n{\n    [\n    [\n        domainName: 'google.net',\n        status: 'Active',\n        created: '1999-03-15T05:00:00Z',\n        expiry: '2025-03-15T04:00:00Z'\n    ],\n    [\n        domainName: 'google.com',\n        status: 'Active',\n        created: '1997-09-15T04:00:00Z',\n        expiry: '2028-09-14T04:00:00Z'\n    ],\n    [\n        domainName: 'google.app',\n        status: 'Active',\n        created: '2018-03-29T16:02:13Z',\n        expiry: '2025-03-29T16:02:13Z'\n    ],\n    [\n        domainName: 'google.ai',\n        status: 'Active',\n        created: 'N/A',\n        expiry: 'N/A'\n    ],\n    [\n        domainName: 'google.dev',\n        status: 'Active',\n        created: '2018-06-13T22:30:20Z',\n        expiry: '2025-06-13T22:30:20Z'\n    ],\n    [\n        domainName: 'google.org',\n        status: 'Active',\n        created: '1998-10-21T04:00:00Z',\n        expiry: '2024-10-20T04:00:00Z'\n    ],\n    [\n        domainName: 'google.co',\n        status: 'Active',\n        created: '2010-02-25T01:04:59Z',\n        expiry: '2025-02-24T23:59:59Z'\n    ],\n    [\n        domainName: 'google.it',\n        status: 'Active',\n        created: '1999-12-10 00:00:00',\n        expiry: 'N/A'\n    ],\n    [\n        domainName: 'google.us',\n        status: 'Active',\n        created: '2002-04-19T23:16:01Z',\n        expiry: '2025-04-18T23:59:59Z'\n    ],\n    [\n        domainName: 'google.space',\n        status: 'Active',\n        created: '2015-01-19T11:57:06.0Z',\n        expiry: '2025-01-19T23:59:59.0Z'\n    ],\n    [\n        domainName: 'google.me',\n        status: 'Active',\n        created: '2008-06-13T17:17:40Z',\n        expiry: '2025-06-13T17:17:40Z'\n    ],\n    [\n        domainName: 'google.club',\n        status: 'Active',\n        created: '2014-03-29T15:15:13Z',\n        expiry: '2025-03-28T23:59:59Z'\n    ],\n    [\n        domainName: 'google.biz',\n        status: 'Active',\n        created: '2002-03-27T16:03:44Z',\n        expiry: '2025-03-26T23:59:59Z'\n    ],\n    [\n        domainName: 'google.info',\n        status: 'Active',\n        created: '2001-07-31T23:57:50Z',\n        expiry: '2024-07-31T23:57:50Z'\n    ],\n    [\n        domainName: 'google.pro',\n        status: 'Active',\n        created: '2008-07-22T00:00:00Z',\n        expiry: '2024-09-08T00:00:00Z'\n    ]\n    ]\n\n    /*\n    in console.log:\n\n    ┌─────────┬────────────────┬──────────┬──────────────────────────┬──────────────────────────┐\n    │ (index) │   domainName   │  status  │         created          │          expiry          │\n    ├─────────┼────────────────┼──────────┼──────────────────────────┼──────────────────────────┤\n    │    0    │  'google.net'  │ 'Active' │  '1999-03-15T05:00:00Z'  │  '2025-03-15T04:00:00Z'  │\n    │    1    │  'google.com'  │ 'Active' │  '1997-09-15T04:00:00Z'  │  '2028-09-14T04:00:00Z'  │\n    │    2    │  'google.app'  │ 'Active' │  '2018-03-29T16:02:13Z'  │  '2025-03-29T16:02:13Z'  │\n    │    3    │  'google.ai'   │ 'Active' │          'N/A'           │          'N/A'           │\n    │    4    │  'google.dev'  │ 'Active' │  '2018-06-13T22:30:20Z'  │  '2025-06-13T22:30:20Z'  │\n    │    5    │  'google.org'  │ 'Active' │  '1998-10-21T04:00:00Z'  │  '2024-10-20T04:00:00Z'  │\n    │    6    │  'google.co'   │ 'Active' │  '2010-02-25T01:04:59Z'  │  '2025-02-24T23:59:59Z'  │\n    │    7    │  'google.it'   │ 'Active' │  '1999-12-10 00:00:00'   │          'N/A'           │\n    │    8    │  'google.us'   │ 'Active' │  '2002-04-19T23:16:01Z'  │  '2025-04-18T23:59:59Z'  │\n    │    9    │ 'google.space' │ 'Active' │ '2015-01-19T11:57:06.0Z' │ '2025-01-19T23:59:59.0Z' │\n    │   10    │  'google.me'   │ 'Active' │  '2008-06-13T17:17:40Z'  │  '2025-06-13T17:17:40Z'  │\n    │   11    │ 'google.club'  │ 'Active' │  '2014-03-29T15:15:13Z'  │  '2025-03-28T23:59:59Z'  │\n    │   12    │  'google.biz'  │ 'Active' │  '2002-03-27T16:03:44Z'  │  '2025-03-26T23:59:59Z'  │\n    │   13    │ 'google.info'  │ 'Active' │  '2001-07-31T23:57:50Z'  │  '2024-07-31T23:57:50Z'  │\n    │   14    │  'google.pro'  │ 'Active' │  '2008-07-22T00:00:00Z'  │  '2024-09-08T00:00:00Z'  │\n    └─────────┴────────────────┴──────────┴──────────────────────────┴──────────────────────────┘\n    Domains searched in: 1.521s\n\n    */\n}\n```\n\n## Disclaimer\n\nThis may not work correctly because i coded :/\n\n## Thanks to Whoiser\n\nI inspired and forked from https://github.com/LayeredStudio/whoiser\n\n## Unsupported TLDs\n\n-   `.ch` - WHOIS server for .ch doesn't return WHOIS info, works only in browser https://www.nic.ch/whois/. This library can be used only to check .ch domain availability, example here https://runkit.com/andreiigna/5efdeaa8e4f2d8001a00312d\n\n## More\n\nPlease report any issues here on GitHub.\n[Any contributions are welcome](CONTRIBUTING.md)\n\n## License\n\n[MIT](LICENSE)\n\nCopyright (c) ATLI, ZAFER\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaferatli%2Fdomain-searcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaferatli%2Fdomain-searcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaferatli%2Fdomain-searcher/lists"}