OpenStreetMap PBF Streaming Parser
JSON →osm-pbf-parser is a Node.js library designed for streaming parsing of OpenStreetMap Protocol Buffer (PBF) files. It processes binary PBF data, converting it into a stream of JavaScript objects representing OSM nodes, ways, and relations. The current stable version is 2.3.0. This library is designed for handling large `.pbf` files efficiently by processing them in a streaming fashion, avoiding the need to load the entire file into memory. It further differentiates itself by exposing `BlobParser` and `BlobEncoder` components, which allow for distributing binary work units and facilitating parallel processing of PBF data blobs, a feature useful for high-performance data extraction and transformation workflows. Due to its age (last updated in 2021) and CommonJS-only nature, it should be considered for projects that can tolerate an unmaintained dependency or require its specific streaming and parallel processing features for older Node.js environments.
Traffic · last 30 days ↑250% vs prev 7d
top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany