After more than a year of developing node-geocoder
library, I finally take the time to write a small article to present you this library.
Node geocoder is a node.js module which provides an abstraction layer for geocoding and reverse geocoding.
To install the module it's really easy : just run the following command to get the latest version:
npm install node-geocoder
Then you can geocode your first address :
// Require the modulevar NodeGeocoder = require('node-geocoder');// Choose a geocoder providervar geocoder = NodeGeocoder.get('google');// Geocodegeocoder.geocode('Your adress').then(function(result) {console.log(result);});
Node-geocoder documentation http://nchaulet.github.io/node-geocoder/
Github: https://github.com/nchaulet/node-geocoder