This class is used by the resource manager to embed scripts.
You can call the method via the monster namespace new Monster.DOM.Resource.Script()
.
<script type="module">
import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.0/dist/monster.js';
new Monster.DOM.Resource.Script()
</script>
Alternatively, you can also integrate this function individually.
<script type="module">
import {Script} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.0/dist/modules/dom/resource/script.js';
new Script()
</script>