portable-transform-encapsulate
portable.js transform to wrap module in an anonymous function
Usage no npm install needed!
<script type="module">
import portableTransformEncapsulate from 'https://cdn.skypack.dev/portable-transform-encapsulate';
</script>