| .. | ||
| tests | ||
| index.d.ts | ||
| index.js | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
@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>|undefinedFetches the contents of a file.
License: BSD 3-Clause License