snap-to-grid

Snaps points to a grid, without superpositions

Usage no npm install needed!

<script type="module">
  import snapToGrid from 'https://cdn.skypack.dev/snap-to-grid';
</script>

README

Snap to grid