snout

Snout sniffs out a directory.

Usage no npm install needed!

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

README

Snout sniffs out a directory.

Snout returns an object with keys equal to all filenames beneath a directory. The value for each is the data in the corresponding file. This is useful for, say, making all templates available in an object when a web app is started.