{"id":20879223,"url":"https://github.com/7c/whois2json","last_synced_at":"2025-04-11T00:41:12.428Z","repository":{"id":189789248,"uuid":"618374458","full_name":"7c/whois2json","owner":"7c","description":"whois2json library","archived":false,"fork":false,"pushed_at":"2023-08-25T15:10:56.000Z","size":70,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T21:22:37.356Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/7c.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-24T10:31:01.000Z","updated_at":"2024-11-08T18:32:19.000Z","dependencies_parsed_at":"2024-11-18T07:15:41.363Z","dependency_job_id":"d2a02547-e2e3-4084-823a-befe5857e4f3","html_url":"https://github.com/7c/whois2json","commit_stats":null,"previous_names":["7c/whois2json"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7c%2Fwhois2json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7c%2Fwhois2json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7c%2Fwhois2json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7c%2Fwhois2json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/7c","download_url":"https://codeload.github.com/7c/whois2json/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248322646,"owners_count":21084336,"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":[],"created_at":"2024-11-18T07:15:37.053Z","updated_at":"2025-04-11T00:41:12.410Z","avatar_url":"https://github.com/7c.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# whois2json\nlibrary to whois certain TLDs. We use whoisserver-world library to parseDomain and tests. More importantly we take whoisServers from this library. Make sure it is up2date.\n\n## API\n`npm i --save https://github.com/7c/whois2json`\n\n```\n## to get parsed whois\nimport { whois2json,parseDomain } from '7c/whois2json'\nlet domain = parseDomain('www.example.com')\nlet result = await whois2json(domain.name)\n```\n\n```\n## to get raw whois\nimport { rawWhois } from '7c/whois2json'\nconsole.log(await rawWhois('example.com'))\n```\n\n## CLI\n`npm i -g https://github.com/7c/whois2json`\n\n--raw : will output raw whois\n--scan : will scan all known parsers (development only)\n\n### dist/tldinfo \u003ctld\u003e\nshows information about top-level-domain such as `sampleDomains`\n\n### dist/whois2json \u003chostname\u003e\nwhois given hostname`s domain and outputs as json","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7c%2Fwhois2json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F7c%2Fwhois2json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7c%2Fwhois2json/lists"}