An Ember addon that wraps the GitHub fetch polyfill for ember-cli apps. Provides a standards-compliant fetch implementation for browsers that lack native support, with optional fallback to native fetch when available. Version 8.1.2 is stable, actively maintained, and works with Ember 2.13+. Ships TypeScript declarations. Key differentiators: seamless integration with Ember's build pipeline, Fastboot support with automatic absolute URL resolution, optional native fetch bypass via build config, and support for AbortController. Ember Data 3.9.2+ includes built-in fetch; for older versions use v7.x.
npm install ember-fetchNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage: build config with preferNative, import fetch from 'fetch', and make a GET request.
Use import fetch from 'fetch' instead of 'ember-fetch'.
Use absolute URLs or ensure usage is after instance-initializers run.
Use absolute URLs or move fetch calls to after instance-initializers.
Pin ember-fetch to 7.x or upgrade Ember Data.
Upgrade to 8.0.0 or use abortcontroller-polyfill separately.
Change import to import fetch from 'fetch';
Ensure fetch calls happen after instance-initializers or use absolute URLs.
Use absolute URL or ensure fetch is called after instance-initializers.
Use import fetch from 'fetch'; and call fetch() directly.