gerobak

A script-loader

Usage no npm install needed!

<script type="module">
  import gerobak from 'https://cdn.skypack.dev/gerobak';
</script>

README

Gerobak.js

Extending basketjs to load scripts dynamically based on custom data attribute.

How to use it

Put gerobak-load="your/dir/to/script.js" anywhere on your document. Gerobak will automatically read and load it for you. Simple isn't it? Enjoy and keep async! :)