{"library":"write-prettier-file","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"3.0.3","tags":["javascript"],"last_verified":"Sat Apr 25","install":[{"cmd":"npm install write-prettier-file","imports":["import writePrettierFile from 'write-prettier-file'","import writePrettierFile from 'write-prettier-file'","import customName from 'write-prettier-file'"]},{"cmd":"yarn add write-prettier-file","imports":[]},{"cmd":"pnpm add write-prettier-file","imports":[]}],"homepage":null,"github":"https://github.com/fisker/write-prettier-file","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/write-prettier-file","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}