buffer-offset-index
An index that maps character indices in the buffer to 2d coordinates.
Version 0.0.1 License MIT
<script type="module"> import bufferOffsetIndex from 'https://cdn.jsdelivr.net/npm/buffer-offset-index@0.0.1/+esm' </script>
An index that maps character indices in the buffer to 2d coordinates.