sketch-module-fetch-polyfill
0.1.4 • Public • Published sketch-module-fetch-polyfill
A fetch polyfill for sketch inspired by unfetch.
Installation
npm i -S sketch-module-fetch-polyfill
Usage
import fetch from 'sketch-module-fetch-polyfill'
fetch("https://google.com")
.then(response => response.text())
.then(text => console.log(text))
.catch(e => console.error(e))
Package Sidebar
Install
npm i sketch-module-fetch-polyfill
Weekly Downloads