@sodra/load-script
v1.0.0
Published
load a script
Downloads
3
Keywords
Readme
import loadScript from '@sodra/load-script'
loadScript('https://maps.googleapis.com/maps/api.js')
.then(() => console.log("Script loaded!"))
.catch(err => console.warn(err.message))