NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #2025 most downloaded on npm
Trim newlines from the start and/or end of a string
Latest stable
5.0.0
Last release 4 years ago
no release in 18 months
Ships fairly regularly
a new release about every 1.7 years
Some releases are documented
notes for 5 of 10 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
10 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
Switch to named exports https://github.com/sindresorhus/trim-newlines/commit/40cd948522a9a8808caebf2f97ebbfa331548ef0
https://github.com/sindresorhus/trim-newlines/compare/v4.0.2...v5.0.0
Nothing published for this version
Nothing published for this version
Minor performance improvement 4676273
https://github.com/sindresorhus/trim-newlines/compare/v4.0.1...v4.0.2
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fix ReDoS vulnerability for the .end() method 25246c6
.end() method 25246c6
Also fixed for v3 in 3.0.1.
https://github.com/sindresorhus/trim-newlines/compare/v4.0.0...v4.0.1
This package is now pure ESM. Please read this.
https://github.com/sindresorhus/trim-newlines/compare/v3.0.0...v4.0.0
Nothing published for this version
Add TypeScript definition (#1) 75db891
Breaking:
Enhancements:
https://github.com/sindresorhus/trim-newlines/compare/v2.0.0...v3.0.0
Nothing published for this version
Nothing published for this version
One column per quarter.