{"library":"vt-pbf","type":"library","category":null,"description":"vt-pbf is a JavaScript library for serializing Mapbox vector tiles into binary Protobuf format, adhering to the Mapbox Vector Tile Specification. It provides methods to convert both `vector-tile-js` objects and `geojson-vt` tile structures into a Protobuf buffer. The current stable version is 3.1.3. Releases appear to be driven by bug fixes and performance improvements, with a focus on specification compliance and encoding correctness for various GeoJSON types and property values, as seen with recent fixes for `null` value encoding. Its primary differentiator is its direct integration with Mapbox's ecosystem libraries like `geojson-vt` and `@mapbox/vector-tile` for efficient tile generation and manipulation, rather than being a generic Protobuf library.","language":"javascript","status":"active","version":"3.1.3","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vt-pbf","imports":["import vtpbf from 'vt-pbf';","import vtpbf from 'vt-pbf';\nconst buff = vtpbf.fromGeojsonVt({ 'layer': tile });","import vtSerializer from 'vt-pbf';"]},{"cmd":"yarn add vt-pbf","imports":[]},{"cmd":"pnpm add vt-pbf","imports":[]}],"homepage":null,"github":"https://github.com/mapbox/vt-pbf","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vt-pbf","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vt-pbf/compatibility"}}