Convert a string index to its line and column position
MIT License
List of JavaScript types
Read a chunk from a file
Strip redundant indentation and indent the string
Parse text columns, like the output of unix commands. Returns JSON that you can manipulate with t...
Open files in your editor at a specific line and column
Split lines into an array of lines
Strip leading whitespace from each line in a string
Split a string at one or more indices
Indent each line in a string
Parse text columns, like the output of unix commands
ES2015 `Array#findIndex()` ponyfill
Pad each line in a stream
Move an array item to a different position
Normalize the newline characters in a string to `\n`