prettier-plugin-curly is a Prettier plugin that enforces consistent brace style in JavaScript, TypeScript, and other languages Prettier supports. It ensures that curly braces are always used (or omitted) around single-line statements in if, else, for, while, and do/while blocks. This enhances code readability and maintainability by promoting uniform code style across your project, preventing potential errors arising from implicit scoping rules. Configuration options allow customizing the brace enforcement behavior.
Releases of prettier-plugin-curly were most frequent in June 2023 (4 versions) and March 2024 (2 versions). There were consistent releases between June 2023 and October 2024. However, release activity has been minimal since October 2024, with only one release in April 2025 and none since then.
Prettier-plugin-curly npm package downloads show a significant increase from February 2024 to August 2025. After an initial surge, downloads generally trended upwards with considerable monthly fluctuations. August 2025 data is incomplete, showing a dip from the previous month, but earlier months suggest strong adoption.