Show HN: JavaScript IP Country lookup in under 500KiB
npmjs.com
npmjs.com
There's also this third party report which measures 80% overall accuracy, but likely higher practical accuracy (eg accuracy in the US/Europe is much higher than 80% and most of your customers might be there): https://www.cl.cam.ac.uk/~nz247/publications/JSAC2011-Geoloc...