Stream features into and out of GeoJSON objects and Feature Collections.
JavaScript
Latest commit fc150a9 Jul 14, 2016 @mapsam mapsam committed on GitHub Merge pull request #4 from mapbox/node4
add node 4
Permalink
Failed to load latest commit information.
test
.travis.yml
README.md
index.js First Oct 17, 2013
package.json

README.md

geojson-stream

build status

Stream features into and out of GeoJSON objects and Feature Collections. Little more than JSONStream with pre-filled settings.

usage

npm install --save geojson-stream

api

geojsonStream.stringify()

Returns a transform stream that accepts GeoJSON Feature objects and emits a stringified FeatureCollection

geojsonStream.parse()

Returns a transform stream that accepts a GeoJSON FeatureCollection as a stream and emits Feature objects