Getting Started
Install
Section titled “Install”npm i -D indentierRequires Node.js 22+.
Quick start
Section titled “Quick start”# Scaffold config filesnpx indentier --init
# Format a file to stdoutnpx indentier src/index.ts
# Format in placenpx indentier --write "src/**/*.ts"
# Check (exits 1 if any file would change — useful in CI)npx indentier --check "src/**/*.ts"Your first config
Section titled “Your first config”indentier --init creates two files:
.indentierrc.json — options (all optional):
{ "mode": "default", "offset": 20, "minColumn": 80, "plugins": []}.indentierignore — paths to skip (.gitignore syntax):
node_modules/dist/coverage/Adding language plugins
Section titled “Adding language plugins”The core package handles JavaScript and TypeScript natively. For other languages install a plugin:
npm i -D @indentier/plugin-rust{ "plugins": ["@indentier/plugin-rust"]}See Plugins for the full list.