3 releases (breaking)

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

#2018 in Parser implementations

Download history 1/week @ 2024-02-16 14/week @ 2024-02-23 10/week @ 2024-03-01 3/week @ 2024-03-08 2/week @ 2024-03-15 38/week @ 2024-03-29 12/week @ 2024-04-05 2/week @ 2024-04-12

52 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