# feature-parser

> Parse a stream of geojson into individual features

Latest version **2.0.0** (published 2017-11-01) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install feature-parser
pnpm add feature-parser
yarn add feature-parser
bun add feature-parser
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2017-11-01 |
| First published | 2016-02-01 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Daniel Fenton |
| Maintainers | dmfenton |
| Keywords | geojson, streams, parser |

## Links

- npm: https://www.npmjs.com/package/feature-parser
- Repository: https://github.com/dmfenton/feature-parser
- Homepage: https://github.com/dmfenton/feature-parser#readme
- Issues: https://github.com/dmfenton/feature-parser/issues
- npm.io page: https://npm.io/package/feature-parser

## Dependencies (1)

- [highland](https://npm.io/package/highland.md) ^3.0.0-beta.5

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 2.0.0 (latest) — 2017-11-01
- 1.0.1 — 2016-02-01
- 1.0.0 — 2016-02-01

## README

# Feature-Parser
*Parse streams of geojson into individual features*

Example: Split geojson into 5 groups
```javascript
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}`

---
_Source: https://npm.io/package/feature-parser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
