UNPKG

@meisterplayer/util-load-script

Version:

Load a remote script asynchronously

5 lines (2 loc) 203 B
# Script Loader Simple function to asynchronously load an external script. Returns a promise which resolves when the download is complete, or if it finds a script with the same name already loaded in.