A minimal fetch implementation designed for compatibility with Google Closure Compiler. Version 0.4.2 provides a subset of the Fetch API specifically for sending ArrayBuffer and plain strings, with response support limited to array buffers. It is intended for use in Closure Compiler-compiled projects where a lightweight, limited fetch wrapper is needed. The library has no active maintenance or release cadence, and lacks full Fetch API coverage (e.g., no JSON, text, or blob responses). Not recommended for general use; consider using the native Fetch API or a polyfill like unfetch or node-fetch for broader compatibility.
npm install closure-fetchNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage of fetch to retrieve a binary file as ArrayBuffer, the only supported response type.
Use response.arrayBuffer() and manually parse if needed, or switch to a full fetch polyfill.
Convert body to string (e.g., JSON.stringify) or ArrayBuffer before sending.
Migrate to a maintained fetch implementation like unfetch or node-fetch.
Use response.arrayBuffer() instead. If you need JSON, manually parse the buffer.
Run 'npm install closure-fetch' and ensure your import path is correct.
No dependency data recorded yet.