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

dbip-city-lite

v1.0.9

Published

dbip-city-lite.mmdb.gz CDN files based on Free Open Source CDN [jsDelivr!](https://www.jsdelivr.com/)

Downloads

237

Readme

DB-IP City Lite - Free IP Geolocation Database

npm version npm downloads License GitHub Stars

Free DB-IP City Lite database for IP geolocation. A lightweight alternative to MaxMind with city-level accuracy. Automatically updated and served via jsDelivr CDN.

Website: geo.wp-statistics.com


Features

  • City-Level Accuracy - Get country, city, coordinates, and more
  • Lightweight - Smaller file size (~19 MB) compared to alternatives
  • Auto-Updated - Database updated automatically on 1st of each month
  • Fast CDN - Served via jsDelivr with global edge locations
  • No Authentication - Direct download, no API keys required
  • Free Forever - Open source under CC BY 4.0 license

Quick Start

Direct Download

https://cdn.jsdelivr.net/npm/dbip-city-lite/dbip-city-lite.mmdb.gz

PHP

use GeoIp2\Database\Reader;

$reader = new Reader('/path/to/dbip-city-lite.mmdb');
$record = $reader->city('128.101.101.101');

echo $record->country->name;  // 'United States'
echo $record->city->name;     // 'Minneapolis'

Node.js

const { Reader } = require('@maxmind/geoip2-node');

const reader = await Reader.open('./dbip-city-lite.mmdb');
const response = reader.city('128.101.101.101');

console.log(response.country.names.en);  // 'United States'
console.log(response.city.names.en);     // 'Minneapolis'

Python

import geoip2.database

reader = geoip2.database.Reader('./dbip-city-lite.mmdb')
response = reader.city('128.101.101.101')

print(response.country.name)  # 'United States'
print(response.city.name)     # 'Minneapolis'

WordPress (WP Statistics)

use WP_Statistics\Service\Geolocation\GeolocationFactory;

$location = GeolocationFactory::getLocation('128.101.101.101');
echo $location['city'];  // 'Minneapolis'

Database Info

| Property | Value | |----------|-------| | CDN URL | https://cdn.jsdelivr.net/npm/dbip-city-lite/dbip-city-lite.mmdb.gz | | npm | npm install dbip-city-lite | | Update Schedule | Monthly (1st of each month) | | Size | ~19 MB (compressed) | | Format | MaxMind DB (MMDB) | | License | CC BY 4.0 |


Update Schedule

This database is automatically updated via GitHub Actions:

  • Schedule: 1st of each month at 06:00 UTC
  • Source: DB-IP Lite
  • Distribution: Published to npm, served via jsDelivr CDN

Last updated: 2026-01-01


DB-IP vs MaxMind

| Feature | DB-IP City Lite | MaxMind GeoLite2-City | |---------|-----------------|----------------------| | File Size | ~19 MB | ~68 MB | | Update Frequency | Monthly | Twice weekly | | License | CC BY 4.0 | CC BY-SA 4.0 | | Best For | Smaller deployments | Higher accuracy needs |


Related Resources


Attribution

This database is provided by DB-IP. When using this database, you must include a link back to DB-IP.com on pages that display results from the database, as required by the CC BY 4.0 license.


License

DB-IP City Lite is licensed under CC BY 4.0.

Maintained by VeronaLabs and the WP Statistics team.