linez (npm): Parses lines from text, preserving line numbers, offsets and line endings.
Keywords: lines|line|parse|text|newline|ending|newline-character-sequences|parser|parses-lines