# whois-sock5

> A WHOIS client for NodeJS

Latest version **2.2.3** (published 2016-04-29) · FreeBSD license · 0 weekly downloads

## Install

```sh
npm install whois-sock5
pnpm add whois-sock5
yarn add whois-sock5
bun add whois-sock5
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: no vulnerabilities; high maintenance score.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.2.3 |
| Published | 2016-04-29 |
| First published | 2016-04-28 |
| Weekly downloads | 0 |
| License | FreeBSD |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 262 |
| Author | Mahmud Ridwan |
| Maintainers | hieuit7 |
| Keywords | whois |

## Links

- npm: https://www.npmjs.com/package/whois-sock5
- Repository: https://github.com/hjr265/node-whois
- Issues: https://github.com/hjr265/node-whois/issues
- npm.io page: https://npm.io/package/whois-sock5

## Dependencies (3)

- [socksjs](https://npm.io/package/socksjs.md) ~0.5.0
- [optimist](https://npm.io/package/optimist.md) ^0.6.1
- [underscore](https://npm.io/package/underscore.md) ~1.5.2

## Recent versions

- 2.2.3 (latest) — 2016-04-29
- 2.2.2 — 2016-04-29
- 2.2.1 — 2016-04-29
- 2.2.0 — 2016-04-28

## README

# Node WHOIS

[![Build Status](https://drone.io/github.com/hjr265/node-whois/status.png)](https://drone.io/github.com/hjr265/node-whois/latest)

Node WHOIS is a WHOIS client for Node.js.

## Installation

    $ npm install whois

## Usage

```js
var whois = require('whois')
whois.lookup('google.com', function(err, data) {
	console.log(data)
})
```

You may pass an object in between the address and the callback function to tweak the behavior of the lookup function:

```js
{
	"server":  "",   // this can be a string ("host:port") or an object with host and port as its keys; leaving it empty makes lookup rely on servers.json
	"follow":  2,    // number of times to follow redirects
	"timeout": 0,    // socket timeout, excluding this doesn't override any default timeout value
	"verbose": false, // setting this to true returns an array of responses from all servers
	"proxy": "" // this can be a string ("host:port");
}
```

## Contributing

Contributions are welcome.

## License

Node WHOIS is available under the [BSD (2-Clause) License](http://opensource.org/licenses/BSD-2-Clause).

---
_Source: https://npm.io/package/whois-sock5 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
