Installation
npm install --save @types/geobuf
Summary
This package contains type definitions for geobuf (https://github.com/mapbox/geobuf).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/geobuf.
index.d.ts
import { GeoJSON } from "geojson";
import Pbf from "pbf";
export function decode(pbf: Pbf): GeoJSON;
export function encode(obj: GeoJSON, pbf: Pbf): Uint8Array;
Additional Details
- Last updated: Wed, 16 Sep 2026 0337 GMT
- Dependencies: @types/geojson, pbf