3.0.4 • Published 7 months ago

@types/geobuf v3.0.4

Weekly downloads
337
License
MIT
Repository
github
Last release
7 months ago

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

// Type definitions for geobuf 3.0
// Project: https://github.com/mapbox/geobuf
// Definitions by: Chad Burt <https://github.com/underbluewaters>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import Pbf = require('pbf');
import { GeoJSON } from 'geojson';

export function decode(pbf: Pbf): GeoJSON;
export function encode(obj: GeoJSON, pbf: Pbf): Uint8Array;

Additional Details

Credits

These definitions were written by Chad Burt.