write-prettier-file

JSON →
library 3.0.3 ·javascript
verified Apr 25, 2026

A small utility that writes a file after formatting the content with Prettier. The package simplifies the workflow of formatting code before saving it to disk. Current stable version is 3.0.3 (as of 2025). Release cadence is irregular with minor updates. Key differentiators: it integrates formatting and file writing into one call, supports prettier config resolution, and works with string or URL file paths. Breaking change in v3.0.0 removed the sync version, making it async-only. Requires Node.js >=16.

total hits 12
actors 3 distinct systems
last hit 2d ago AhrefsBot
GPTBot
5
Search engines
2
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · PT · EE