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 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-ip2location-lite

v0.2.1

Published

IP geolocation, proxy detection, and ASN lookup using local IP2Location databases

Readme

n8n-nodes-ip2location-lite

This is an n8n community node for IP geolocation, proxy detection, and ASN lookup using local IP2Location databases.

n8n is a fair-code licensed workflow automation platform.

Installation

Install via Settings > Community Nodes in n8n and search for n8n-nodes-ip2location-lite.

See the n8n community nodes documentation for more details.

Operations

| Operation | Description | |-----------|-------------| | Detect Proxy | Check if an IP is a proxy, VPN, or Tor exit node | | Full Lookup | Combined geolocation + ASN lookup, optionally with proxy detection | | Geolocate IP | Get geographic location (country, region, city, coordinates, timezone) | | Lookup ASN | Get Autonomous System information for an IP address |

What works without a token?

| Scenario | Geolocation | Proxy Detection | ASN Lookup | |----------|-------------|-----------------|------------| | No credentials | Country only | Not available | Not available | | With token | Full data (city, region, timezone, etc.) | Available | Available |

Credentials are optional - you can use basic geolocation without any setup. For full functionality, get a free token from lite.ip2location.com.

Credentials

  • Download Token - Get a free token from lite.ip2location.com. Required for proxy detection and ASN lookup. Optional for geolocation (enables full data instead of country-only).
  • Data Directory - Where to store downloaded database files (default: ~/.n8n-files/ip2location/)

How Database Management Works

This node uses local database files for fast, offline IP lookups. Here's how it manages them:

First Use

On first execution, the node automatically downloads the required database:

  • Without token: Downloads the public DB1 database (~30MB) with country-level data only
  • With token: Downloads DB11 (~200MB) for full geolocation, plus proxy/ASN databases as needed

Storage Location

Databases are stored in the configured data directory (default: ~/.n8n-files/ip2location/). Files include:

  • IP2LOCATION-LITE-DB1.IPV6.BIN - Basic geolocation (no token)
  • IP2LOCATION-LITE-DB11.IPV6.BIN - Full geolocation (with token)
  • IP2PROXY-LITE-PX1.BIN - Proxy detection (with token)
  • IP2LOCATION-LITE-ASN.IPV6.BIN - ASN lookup (with token)

Auto-Refresh

Databases are automatically refreshed every 30 days to stay current with IP2Location's monthly updates. The refresh happens transparently on the next node execution after the database expires.

Compatibility

  • Tested with n8n v1.x
  • Supports both IPv4 and IPv6 addresses

Usage

  1. Add the IP2Location node to your workflow
  2. Configure credentials (optional - only needed for proxy/ASN or full geolocation)
  3. Select an operation (Geolocate, Detect Proxy, or Lookup ASN)
  4. Provide an IP address (can use expressions like {{$json.ip}})

Resources

Attribution

This site or product includes IP2Location LITE data available from https://lite.ip2location.com.

Users are responsible for registering their own account at lite.ip2location.com to obtain a download token for full database access.

License

MIT