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.
See test.js for an example.
MIT
npm i line-offsets
2
1.0.0
MIT