2.0.0 • Published 7 years ago

feature-parser v2.0.0

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
7 years ago

Feature-Parser

Parse streams of geojson into individual features

Example: Split geojson into 5 groups

const request = require('request')
const FeatureParser = require('feature-parser')

request.get(/* remote geojson */)
.pipe(FeatureParser.parse())
.batch(500)
.each(batch => /* do something with your batch */)

To parse newline delimited json pass {ndJSON: true}