A fetch polyfill for Sketch plugins, version 0.5.2 (latest). Provides a lightweight fetch API implementation inspired by unfetch, specifically for use within Sketch plugin contexts. It is automatically included when using the skpm build tool, but can be installed separately. Only supports HTTPS due to macOS limitations. No active development or releases since 2018.
npm install sketch-polyfill-fetchNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to use the fetch polyfill in a Sketch plugin with skpm, making an HTTPS GET request.
Always use https:// URLs in fetch calls.
If targeting Sketch 71+, remove the polyfill and use native fetch.
Change URL to https://
Add import fetch from 'sketch-polyfill-fetch' or const fetch = require('sketch-polyfill-fetch')No dependency data recorded yet.