@protobufjs/fetch
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@protobufjs/fetch

npm

Fetches the contents of a file accross node and browsers.

API

  • fetch(path: string, [options: { binary: boolean } ], [callback: function(error: ?Error, [contents: string])]): Promise<string|Uint8Array>|undefined Fetches the contents of a file.

License: BSD 3-Clause License

/@protobufjs/fetch/

    Package Sidebar

    Install

    npm i @protobufjs/fetch

    Weekly Downloads

    10,968,408

    Version

    1.1.0

    License

    BSD-3-Clause

    Last publish

    Collaborators

    • dcode
    • protobufjs