Socket
Socket
Sign inDemoInstall

@as207111/whois

Package Overview
Dependencies
2
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @as207111/whois

Geolocation, Proxy, VPN or Tor exit address detection, for free.


Version published
Maintainers
1
Created

Readme

Source

AS207111 Whois for JavaScript

Installation

The recommended way to install AS207111 Whois is through NPM.

npm install @as207111/whois --save

Getting Started

First, request a free api access token from https://whois.as207111.net to get access to all api features, including all premium features, like privacy lookups.

Then initialize a new Client with your API Access Token and call the lookup method to lookup any IPv4 or IPv6 address.

const whois = require('@as207111/whois');

whois
    .lookup({ip_address: '2001:67c:770::'})
    .then(reponse => console.log(reponse.data));

API Response Reference

{
  "ip": "2001:67c:770::1",
  "city": "Cologne",
  "postal": "50733",
  "region": "NW",
  "country": "DE",
  "lat": 50.9655,
  "lon": 6.95378,
  "timezone": "Europe/Berlin",
  "asn": {
    "asn": 207111,
    "name": "PREUSS-AS",
    "isp": "Rene Preuss",
    "network": "2001:67c:770::/48"
  },
  "company": {
    "name": "Rene Preuss"
  },
  "privacy": {
    "proxy": false,
    "hosting": false,
    "mobile": false
  }
}

Keywords

FAQs

Last updated on 23 May 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc