esri2geo

convert esri JSON to geojson

npm install esri2geo
5 downloads in the last week
20 downloads in the last month

esri2geo

Looking for the esri toolbox? It's over at it's own repo to hopefully merge with @feomike's version Here have a tool to turn esri json to geojson should work in the browser, in a worker, and in node.

var geoJSON = toGeoJSON(esriJSON);
//or
var geoJSON,cb=function(err, data){geoJSON=data};
toGeoJSON(esriJSON,cb);
//or
var geoJSON,cb=function(err, data){geoJSON=data};
toGeoJSON("same/origin/url/to/esriJSON",cb);
//fin

you can install on npm:

npm install esri2geo

from inside node:

var esri2geo = require("esri2geo");

Disclaimer: not endorsed by, or have anything to do with ESRI.

npm loves you