can-use-dom
Test if you can use dom in the current environment
Usage no npm install needed!
<script type="module">
import canUseDom from 'https://cdn.skypack.dev/can-use-dom';
</script>
Test if you can use dom in the current environment
<script type="module">
import canUseDom from 'https://cdn.skypack.dev/can-use-dom';
</script>