loadit

Asynchronously loads (requires) all files in the given directory and all recursive subdirectories that match the given regular expression.

Usage no npm install needed!

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

README