npm.io
4.0.0 • Published 1 month ago

@types/geobuf

Licence
MIT
Version
4.0.0
Deps
2
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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

Credits

These definitions were written by Chad Burt, and Yue JIN.