esbuild-plugin-prettier

JSON →
library 1.0.0 ·javascript
verified May 1, 2026

An esbuild plugin that automatically formats processed files with Prettier. Version 1.0.0 is the initial release. It runs Prettier on each file that matches the filter regex (default: /[jt]sx?|s?css/) and writes changes back. This plugin is useful in watch mode to keep code formatted without manual intervention. It is lightweight and configurable, but note that Prettier rewriting may conflict with esbuild's incremental build caching.

total hits 7
actors 2 distinct systems
last hit 4d ago AhrefsBot
GPTBot
2
Humans
2

top countries 🇨🇦 Canada · 🇸🇬 Singapore · 🇺🇸 United States