fetch-inject

JSON →
library 3.3.1 ·javascript
verified Jun 7, 2026

Fetch Inject dynamically loads JavaScript and CSS assets into the DOM using the Fetch API, enabling parallel fetching and sequential execution for performance optimization. Current stable version is 3.3.1, released in 2020. It supports TypeScript types and works with Service Workers for offline-first apps. Unlike traditional script loaders, it uses the Fetch API directly, providing fine-grained control over resource loading order and timing. Compatible with ESM and modern browsers; legacy UMD/CJS support is in v2.x.