line-offsets

v1.0.0
Given a string, find the character offset for the beginning of each line
line offset

line-offsets

Given a string, find the character offset for the beginning of each line.

Build Status

Usage

See test.js for an example.

License

MIT

npm i line-offsets

Metadata

  • MIT
  • Whatever
  • joshwnj
  • released 1/31/2015

Downloads

Maintainers