CLI tool that automates adding Prettier to an existing project with full setup including Husky and pretty-quick for pre-commit hooks. v1.1.8 released as needed, no fixed cadence. Key differentiator: single command legacy codebase installation vs manual multi-step configuration. Requires Node.js and npm/yarn/pnpm/bun. Ships TypeScript declarations.
npm install be-prettyNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows typical usage: run setup, skip formatting, set custom config, format all.
Ensure lockfile matches intended package manager or manually specify.
Use npx be-pretty --skipFormatting run.
Ensure a .prettierrc file exists or provide -p flag.
Update to latest version via npm i -g be-pretty@latest.
Install npx via npm i -g npx or use npm/yarn/pnpm directly.
Use npx be-pretty or install globally: npm i -g be-pretty
Run npm install inside the project to ensure all deps are present
Create a .prettierrc file or use -p flag with path
Ensure lockfile (.yarn.lock, package-lock.json, pnpm-lock.yaml) is present