包详细信息

@protobufjs/fetch

dcodeIO69.3mBSD-3-Clause1.1.0

Fetches the contents of a file accross node and browsers.

自述文件

@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