write-prettier-file
JSON →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.
Traffic · last 30 days stale · no recent hits
total hits 17
actors 5 distinct systems
last hit 20d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · VN · 🇩🇪 Germany · 🇬🇧 United Kingdom
Resources
API endpoints
full doc /v1/registry/write-prettier-file
compatibility /v1/registry/write-prettier-file/compatibility