Used to load web workers from CDN/remote origin
$ npm install --save fetch-cdn
import fetchCDN from 'fetch-cdn'
// or use from cdn
// import fetchCDN from 'https://www.unpkg.com/browse/fetch-cdn@0.1.4'
async function getLocalUrl(remoteUrl){
return await fetchCDN(remoteUrl)
}
MIT