@hackage / text-offset

Library for converting between line/column and byte offset.

Latest0.1.0.0

About

Metadata

  • Last updated , by robinp
  • License Apache-2.0
  • Categories Text Processing
  • Maintained by: palotai.robin@gmail.com

  • Lottery factor: 0

Links

Installation

Readme

Translates visual line/column info (as from editor or warning message) to byte offset. Assumes UTF-8 encoding.