@btmills/prettier – Prettier fork with line-before-operator

JSON →
library 2.8.4 ·javascript
verified Jun 4, 2026

A fork of Prettier (v2.8.4) that moves binary operators to the beginning of new lines in long expressions instead of the end of the previous line. This is the only difference from upstream Prettier. The package is designed to be installed as an alias so that require('prettier') resolves to this fork transparently. It supports JavaScript, TypeScript, Flow, JSX, JSON, CSS, SCSS, Less, HTML, Vue, Angular, GraphQL, Markdown, and YAML. Releases are rebased on top of Prettier version tags. Not actively maintained as a separate project; it follows upstream releases with a single feature change.