ram-static

Serve a bunch of small static files from RAM (with forever-caching and invocation-specific URLs)

Usage no npm install needed!

<script type="module">
  import ramStatic from 'https://cdn.skypack.dev/ram-static';
</script>

README

Serve small static files from RAM. Note: Doesn't work well if you want static files to reference other static files.

Look at example.js for usage info. Or just read the source, it's not much.