
Node-geojson permits to turn geo data into GeoJSON (http://geojson.org/). The library has one method, parse(), which takes an array of objects (or a single object) with geometry data as the first parameter, an object consisting of settings for the second parameter, and an optional callback function as the third parameter. If a callback is not specified, the parse() function returns the GeoJSON output.