async-scripts-loader package loads bunch of js files in async way and handles when all the given files are loaded. It returns Promise. Handled "onload" and "onerror" states.
npm install async-scripts-loader


async-scripts-loader package loads bunch of js files in async way and handles when all the given files are loaded with onload and onerror states for each given script.
Package is bundled as UMD and compatible with browser and npm.
It returns a Promise from Promise.all().async-scripts-loader is extra tiny (less then 1.5 KB) and does not have external dependencies!
html
`$3
`js
const loadScriptAsync = require("async-scripts-loader");
`$3
loadScriptAsync()Contribution Notes
Clone project on github
$3
`bash
npm i
`$3
`bash
npm test
``