fmtjs

JSON →
library 5.9.0 ·javascript
verified Jun 4, 2026

fmtjs is a JavaScript code formatter for Node.js and the browser, currently at version 5.9.0. It provides opinionated formatting with a focus on speed and minimal configuration, supporting ES modules and CommonJS. The library uses a stable parse-and-print approach with built-in style presets and plugin support for custom rules. Release cadence is monthly with active maintenance. Compared to Prettier, fmtjs offers lighter bundle size and faster formatting for large files, but lacks ecosystem plugins.