as-fetch

JSON →
library 2.1.4 ·javascript
verified Jun 7, 2026

A fetch API implementation for AssemblyScript (WebAssembly) that supports both asynchronous and synchronous HTTP requests. Current stable version is 2.1.4, with periodic releases. Key differentiators: fully typed for AssemblyScript, offers optional synchronous mode via transform, and provides both raw and ESM bindings for host integration. Unlike JavaScript fetch, it requires explicit binding setup and response handler exports. Suitable for AssemblyScript projects needing HTTP client functionality in WebAssembly.