JSPM

@protobufjs/fetch

1.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 19266041
  • Score
    100M100P100Q228793F
  • License BSD-3-Clause

Fetches the contents of a file accross node and browsers.

Package Exports

  • @protobufjs/fetch

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@protobufjs/fetch) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@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