{"library":"wp-prettier","type":"library","category":null,"description":"A fork of Prettier (opinionated code formatter) maintained by Automattic. Adds a `--paren-spacing` command line option that inserts extra spaces inside parentheses, matching the formatting style used in projects like Calypso and Gutenberg. Current stable version is 3.0.3, based on Prettier 3.x. Released on demand when new Prettier versions are rebased; versioning uses alpha/beta suffixes (e.g., 2.0.5-beta-1). Supports JavaScript, TypeScript, CSS, HTML, JSON, Markdown, YAML, GraphQL, and more. Alternative to upstream Prettier for WordPress ecosystem projects.","language":"javascript","status":"active","version":"3.0.3","tags":["javascript","typescript"],"last_verified":"Sat Apr 25","install":[{"cmd":"npm install wp-prettier","imports":["import prettier from 'prettier'","import { format } from 'prettier'","import { resolveConfig } from 'prettier'","import type { Config } from 'prettier'","import { getFileInfo } from 'prettier'"]},{"cmd":"yarn add wp-prettier","imports":[]},{"cmd":"pnpm add wp-prettier","imports":[]}],"homepage":"https://prettier.io","github":"https://github.com/prettier/prettier","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/wp-prettier","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}