sub

A subset of the DOM environment for running Rule.js on the server

Usage no npm install needed!

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

README

A small DOM subset that emulates just enough to run Rule.js