geoip-lite

A light weight native JavaScript implementation of GeoIP API from MaxMind

ipaddr.js

A library for manipulating IPv4 and IPv6 addresses in JavaScript.