cluster-require

An alternative of require function. It will load an module in an separate worker. and share to cluster.

Usage no npm install needed!

<script type="module">
  import clusterRequire from 'https://cdn.skypack.dev/cluster-require';
</script>

README

cluster require

An alternative of require function. It will load an module in an separate worker. and share to cluster.