Micro RequireJS v2.0
Extremely simple and light-weight (<1KB gzipped) asynchronous resource (JavaScript and CSS) loader
If you need support of legacy (like ancient) browsers, go with micro-requirejs v1.x
How to use
...
Async function style
{ try await ; await ; console; catch err console; } ;
Injecting extra attributes
// Single source await ; // Multiple sources await ;
You can run tests like that:
npm test