npm package
Homestrip-final-newline
strip-final-newline is a utility package that removes the final newline character from strings or Uint8Arrays. It is particularly useful when processing output from child processes that may include trailing newlines. This package is efficient and maintains performance even with large inputs.
- lurq health score
- 49/100
- Confidence
- unproven
- Weekly downloads
- 93,334,471
- Latest version
- 4.0.0
- Last release
- Dec 13, 2023
- License
- MIT
Should you depend on strip-final-newline?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks strip-final-newline at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading strip-final-newline
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 3.0.0 → 4.0.0being extracted
- 2.0.0 → 3.0.0being extracted
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 17, 2026; this page refreshes every 168 hours. Source repository.