Load.js
Dynamically loading external JavaScript and CSS files
Install
npm install load.js
How use?
const load = ; /* you could use jquery functions here */await load; /* load menu css and then do some magic */await load; /* recognition file type by extension */const e event = await ; const e footer = await ; const e config = await ; const e header = await ; /* load one-by-one */await load; /* load all together and call callback */await load;
License
MIT