npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@as207111/whois

v2.0.0

Published

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

Downloads

557

Readme

AS207111 Whois for JavaScript

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

AS207111 provides a free Whois service for content customization, advertising, digital rights management, compliance, fraud & proxy detection, security and more.

You will always have the most accurate location data available for every API request, without having to worry about maintaining a local database. For Proxy, VPN or Tor exit address detection, we use machine learning & probability theory techniques using large datasets from different sources with 11,500+ networks from 2,200+ privacy providers.

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.

We recommend using the client only server-side, so that your API access token is not exposed.

import {Client} from "@as207111/whois";

// instantiate a new api client with your api acces token
const client = new Client("xxx|xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");

// lookup a given ipv4 or ipv6 address
const response = await client.lookup("2001:67c:770::");

// display the response
console.log(response);

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
  }
}

Contributors

I would like to thank the following contributors who are working on the active development of whois-js.

@ghostzero @officialpiyush

AS207111 Sponsors

I would like to extend my thanks to the following sponsors for funding AS207111. If you are interested in becoming a sponsor, please visit my Ko-fi page.

Premium Partners