GitHub
trim-newlines
v4.1.1
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
test
xo && ava && tsd
npm i
[email protected]
Source Code
github.com/sindresorhus/...
Homepage
github.com/sindresorhus/trim...
Metadata
MIT
>=12
Sindre Sorhus
released 3/20/2023
Downloads
Downloads Tab Here
Maintainers
sindresorhus