0

I'm building a nodeJs app and I need to get the ISP of each client, I did find a free database of ip to ASN but it's in CSV format. I'm using the official ip2location NPM package (ip2location-nodejs) to retrieve ip data from a BIN database, but the problem this package accept only BIN databases. So how can I convert CSV database to BIN data file ?

If the conversion from the CSV to BIN is not possible, what's the best way to query the CSV database to find an ip data

0 Answers0