README
line-offsets
Given a string, find the character offset for the beginning of each line.
Usage
See test.js for an example.
License
MIT
Given a string, find the character offset for the beginning of each line
<script type="module">
import lineOffsets from 'https://cdn.skypack.dev/line-offsets';
</script>
Given a string, find the character offset for the beginning of each line.
See test.js for an example.
MIT