https://github.com/dbwodlf3/whois-lib
whois api
https://github.com/dbwodlf3/whois-lib
Last synced: 3 months ago
JSON representation
whois api
- Host: GitHub
- URL: https://github.com/dbwodlf3/whois-lib
- Owner: dbwodlf3
- Created: 2021-12-27T03:40:58.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-28T00:36:08.000Z (about 1 year ago)
- Last Synced: 2025-02-12T10:18:52.205Z (3 months ago)
- Language: TypeScript
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
This is just wrapping whois cli tools.
Don't use this lib to something requiring high performance(so many call this...)================================================================================
Requirements
This lib is just wrapping whois cli tools. it means you have to have whois tool.Windows
```console
# install via administrator permission.
choco install whois
```Linux
Install whois via yum, brew, apt-get or something...================================================================================
Usage
```ts
import {whois, whoisParser} from "whois";whois("www.naver.com").then((text)=>{
const whois_data = whoisParser(text);
console.log(whois_data);
})
```