osm-pbf-parser-node

JSON →
library 1.1.4 ·javascript
verified Jun 4, 2026

Streaming OpenStreetMap PBF parser for Node.js. Version 1.1.4. Parses .osm.pbf files into a readable stream of OSM entities (header, nodes, ways, relations). Built for modern Node (16.13+). Exports an async generator (createOSMStream) and a Transform class (OSMTransform). Supports filtering tags per entity type, raw PBF blocks, and optional metadata. Ships TypeScript definitions.