coronamap/node_modules/geojson-stream
2020-06-14 00:00:00 -07:00
..
test Migrate 2020-06-14 00:00:00 -07:00
.travis.yml Migrate 2020-06-14 00:00:00 -07:00
index.js Migrate 2020-06-14 00:00:00 -07:00
package.json Migrate 2020-06-14 00:00:00 -07:00
README.md Migrate 2020-06-14 00:00:00 -07:00

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