detect-indent
Detect the indentation of code in files.
Pricing
Free tier
Flat rate
Adoption
↘CoolingLicense
Open Source
Data freshness
Aging · Jun 8, 2026Overview
What is detect-indent?
A tool to detect the type and size of indentation used in source code files. Useful for maintaining consistent coding styles across projects.
Key differentiator
“detect-indent stands out for its simplicity and effectiveness in detecting indentation types and sizes directly from code files, making it a valuable addition to any developer's toolkit for maintaining coding standards.”
Capability profile
Capability Radar
Honest assessment
Strengths & Weaknesses
↑ Strengths
↓ Weaknesses
The tool is primarily built for JavaScript and may not accurately detect indentation in other languages without significant configuration.
The official documentation lacks comprehensive examples and best practices, making it difficult for new users to understand how to use the tool effectively.
Setting up the tool requires manual configuration of dependencies and environment variables which can be cumbersome for less experienced developers.
Fit analysis
Who is it for?
✓ Best for
Developers working on multiple projects with varying indentation styles who need to quickly detect and standardize them.
CI/CD pipeline developers looking for a reliable way to check code style consistency.
✕ Not a fit for
Projects that do not require consistent coding styles or where manual checking is sufficient.
Developers working in environments without Node.js support, as the tool requires it.
Cost structure
Pricing
Free Tier
Available
Open source — free to use
Starts at
$0
Model
Flat rate
Enterprise
None
Performance benchmarks
How Fast Is It?
Ecosystem
Relationships
Next step
Get Started with detect-indent
Step-by-step setup guide with code examples and common gotchas.