blob: 11088a0b4ab70c90987911a1ab717309379a9a7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
@protobufjs/fetch
=================
[](https://www.npmjs.com/package/@protobufjs/fetch)
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](https://opensource.org/licenses/BSD-3-Clause)
|