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