remote-script-loader
v1.0.3
Published
Promise-based loader of remote scripts
Downloads
1,003
Readme
Remote Script Loader
Install
$ npm install remote-script-loader
Usage
import { loadScript } from 'remote-script-loader';
loadScript('<SCRIPT-URL>').then(() => {
// Use the script like it was loaded using <script src="<SCRIPT-URL>"></script>
});