@types/geobuf
TypeScript icon, indicating that this package has built-in type declarations

3.0.4 • Public • Published

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 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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/geobuf

Weekly Downloads

4,172

Version

3.0.4

License

MIT

Unpacked Size

3.02 kB

Total Files

5

Last publish

Collaborators

  • types