3 releases (breaking)

0.3.0 Jul 30, 2023
0.2.0 Jul 21, 2020
0.1.0 Jun 30, 2020

#2053 in Parser implementations

Download history 26/week @ 2024-11-30 85/week @ 2024-12-07 19/week @ 2024-12-14 1/week @ 2024-12-21 7/week @ 2024-12-28 13/week @ 2025-01-04 3/week @ 2025-01-11 38/week @ 2025-02-08 18/week @ 2025-02-15

56 downloads per month

MIT license

2MB
236 lines

ip2country

provides loading of geo+whois+asn+country csv files (see: https://github.com/sapics/ip-location-db) and provides fast and lightweight ip lookup.

the file format hast to be in this format:

ip-range-start,ip-range-end,short-country-code

the lines need to be sorted ascending by the ip-range-start column.

Dependencies