Geode
locations api in node from www.geonames.org
Install
npm install geode
Use
you will need an account ~ its free
Signup
//includevar geo = 'username' language: 'en' country : 'US' geo
Demo
Heres a simple Express App throwing up an api
Demo
The express code is just
var api = 'username' country: "US" language: 'en'; app
Testing
Make sure to install the development dependecies npm install --dev
and then run.
USER=yourusername npm test