@sodra/load-script
v1.0.0
Published
load a script
Downloads
2
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))