nano-formatter
JSON →A pure JavaScript formatter for NGINX configuration files, version 0.1.8. It indents, splits long directives, and normalizes whitespace. Ships with TypeScript definitions. No runtime dependencies. Unlike nginxbeautifier (Python) or nginx-config-formatter (Java), this is a lightweight Node.js library suitable for CLI or build tool integration. Development appears slow; last update was in 2022. Works in Node.js only (not browser). Supports customizable indentation and maximum line length.
Resources
packagenginx-format ↗