N
N
Nastya090922019-08-22 23:31:25
Node.js
Nastya09092, 2019-08-22 23:31:25

How to make a whois query in nodeJS?

The facebook documentation
suggests using the following command to get facebook ip ranges:

whois -h whois.radb.net -- '-i origin AS32934' | grep ^route

how to do this from the terminal is understandable)
But how can you call this request in Node.js to get JSON with ip ranges in response?
There is such an npm package , but I don't see the `-h` option in it.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question