Trim newlines from the start and/or end of a string
Score
4.2
/10
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreOther packages similar to trim-newlines
trim-off-newlines
1.0.3
Similar to String#trim() but removes only newlines
glsl-token-whitespace-trim
1.0.0
Trim the whitespace within an array of GLSL tokens
trim-lines
3.0.1
Remove spaces and tabs around line-breaks
condense-newlines
0.2.1
Replace extraneous newlines with a single newline, or pass a specified number of newlines to use.