GitHub
trim-newlines
v5.0.0
Trim newlines from the start and/or end of a string
trim
newline
newlines
linebreak
lf
crlf
left
right
start
and 6 more...
Readme
Versions
Dependencies
Scripts
5.0.0
4.1.1
4.1.0
4.0.2
3.0.1
4.0.1
4.0.0
3.0.0
2.0.0
1.0.0
npm i trim-newlines
Source Code
github.com/sindresorhus/...
Homepage
github.com/sindresorhus/trim...
Metadata
MIT
>=14.16
Sindre Sorhus
released 3/20/2023
Downloads
Downloads Tab Here
Maintainers
sindresorhus