0.1.4 • Published 7 years ago
sketch-module-fetch-polyfill v0.1.4
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))