draw-image-normalized
improved canvas2d drawImage normalizing values to allow negatives or out of bound parameters.
Usage no npm install needed!
<script type="module">
import drawImageNormalized from 'https://cdn.skypack.dev/draw-image-normalized';
</script>