Skip to content

Commit e4ebe85

Browse files
committed
Update
1 parent 542dac6 commit e4ebe85

File tree

3 files changed

+25
-37
lines changed

3 files changed

+25
-37
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717

1818
# 🚀 Improved GeoIP Module by [Sefinek](https://sefinek.net)
19-
A maintained and optimized fork of [geoip-lite](https://github.com/geoip-lite/node-geoip) originally created by [Philip Tellis](AUTHORS).
19+
Actively maintained and optimized fork of [geoip-lite](https://github.com/geoip-lite/node-geoip), originally created by [Philip Tellis](AUTHORS).
2020
Fully native JS implementation with synchronous, in-memory lookups for IPv4 and IPv6.
2121
Includes automated test coverage using [Jest](https://www.npmjs.com/package/jest).
2222

@@ -66,7 +66,7 @@ console.log(geoIp.lookup(ip));
6666

6767
## 🌐 Live Demo API
6868
You can see this module in action using my [official API](https://api.sefinek.net).
69-
- Specific IP: https://api.sefinek.net/api/v2/geoip/109.207.159.255 (should not be used in production)
69+
- Specific IP: https://api.sefinek.net/api/v2/geoip/109.207.159.255 (not for production use)
7070
- Client's IP: https://api.sefinek.net/api/v2/geoip/me
7171
- Documentation: https://api.sefinek.net/docs/v2
7272

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 21 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,24 @@
11
{
22
"name": "geoip-lite2",
33
"version": "2.3.0-alpha.0",
4-
"description": "A light weight native JavaScript implementation of GeoIP API from MaxMind. Improved and faster version by Sefinek.",
4+
"description": "Fast, native implementation of the GeoIP API from MaxMind in JavaScript. An improved version by Sefinek, continuously maintained.",
55
"keywords": [
6-
"city",
7-
"country",
8-
"fast-geoip",
9-
"fast-geolocation",
10-
"geo-ip",
11-
"geo-location-api",
12-
"geo",
13-
"geoip-api",
14-
"geoip-data",
15-
"geoip-database",
166
"geoip",
17-
"geoip2-lite",
18-
"geoip2-lite2",
197
"geoip2",
20-
"geolite",
21-
"geolite2",
228
"geolocation",
23-
"geolookup",
24-
"global-ip-data",
25-
"ip-analytics",
26-
"ip-geo",
27-
"ip-geolocation",
28-
"ip-georesolution",
29-
"ip-location",
30-
"ip-lookup",
31-
"ip-mapping",
32-
"ip-resolver",
33-
"ip-tracking",
349
"ip",
10+
"ip-lookup",
11+
"ip-geolocation",
3512
"ipv4",
3613
"ipv6",
37-
"location",
38-
"maxmind-integration",
39-
"maxmind-lite",
4014
"maxmind",
15+
"geolite2",
16+
"geolite",
17+
"country",
18+
"city",
4119
"region",
42-
"state"
20+
"nodejs",
21+
"javascript"
4322
],
4423
"homepage": "https://github.com/sefinek/geoip-lite2#readme",
4524
"bugs": {
@@ -49,9 +28,18 @@
4928
"type": "git",
5029
"url": "git+https://github.com/sefinek/geoip-lite2.git"
5130
},
52-
"license": "Apache-2.0",
53-
"author": "Philip Tellis <philip@bluesmoon.info> (https://bluesmoon.info)",
31+
"license": "(Apache-2.0 AND CC-BY-SA-4.0)",
32+
"author": "Sefinek <contact@sefinek.net> (https://sefinek.net)",
33+
"contributors": [
34+
"Philip Tellis <philip@bluesmoon.info> (https://bluesmoon.info)"
35+
],
5436
"type": "commonjs",
37+
"exports": {
38+
".": {
39+
"require": "./index.js",
40+
"types": "./index.d.ts"
41+
}
42+
},
5543
"main": "index.js",
5644
"types": "index.d.ts",
5745
"directories": {
@@ -91,6 +79,6 @@
9179
"jest": "^30.2.0"
9280
},
9381
"engines": {
94-
"node": ">=20.0.0"
82+
"node": ">=18.0.0"
9583
}
9684
}

0 commit comments

Comments
 (0)