npm package
Homedetect-newline
detect-newline is a utility for identifying the dominant newline character in a string. It is useful for ensuring consistent newline handling in text processing applications. This package can help maintain formatting when reading or writing files with varying newline conventions.
- lurq health score
- 48/100
- Confidence
- unproven
- Weekly downloads
- 48,279,085
- Latest version
- 4.0.1
- Last release
- Sep 22, 2023
- License
- MIT
Should you depend on detect-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 detect-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 detect-newline
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 3.1.0 → 4.0.1diff ready
- 2.1.0 → 3.1.0being extracted
- 1.0.3 → 2.1.0being extracted
Other utility packages lurq scores
- dompurify98/100 · proven
- pdfjs-dist95/100 · proven
- puppeteer94/100 · proven
- puppeteer-core93/100 · proven
- @opentelemetry/sdk-trace92/100 · emerging
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 3, 2026; this page refreshes every 168 hours. Source repository.