Left pad each line in a string
MIT License
Bot releases are hidden (Show)
Published by sindresorhus over 3 years ago
https://github.com/sindresorhus/lpad/compare/2.0.1...v3.0.0
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
Pad each line in a stream
Indent each line in a string
Strip a substring from the start/end of a string
Normalize the newline characters in a string to `\n`
Strip redundant indentation and indent the string
Split lines into an array of lines
Strip the final newline character from a string/buffer
Pad stdout and stderr