A fetch polyfill for sketch inspired by unfetch. It is automatically included (when needed) when using skpm.
npm i -S sketch-polyfill-fetch
import fetch from 'sketch-polyfill-fetch'
fetch("https://google.com")
.then(response => response.text())
.then(text => console.log(text))
.catch(e => console.error(e))