npm package
Homedetect-indent
detect-indent is a utility for detecting the indentation style of code in a string. It is useful for ensuring that modifications to files maintain the original indentation style. This can help in formatting code consistently when editing files programmatically.
- lurq health score
- 61/100
- Confidence
- proven
- Weekly downloads
- 18,329,400
- Latest version
- 7.0.2
- Last release
- Sep 16, 2025
- License
- MIT
Should you depend on detect-indent?
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-indent 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-indent
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 6.1.0 → 7.0.2being extracted
- 5.0.0 → 6.1.0being extracted
- 4.0.0 → 5.0.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 12, 2026; this page refreshes every 168 hours. Source repository.