lurq

npm package

Home

strip-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
127,168,358
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

Other utility packages lurq scores

Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 1, 2026; this page refreshes every 24 hours. Source repository.