npm.io
1.1.2 • Published 1 year ago

@aelfqueen/fetch

Licence
BSD-3-Clause
Version
1.1.2
Deps
2
Size
14 kB
Vulns
0
Weekly
0
Stars
10.6K

@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