prettier-cm is a lightweight CLI tool (v1.0.8) that quickly sets up Prettier configuration in any project by generating .prettierrc and .prettierignore files. It automates the repetitive task of manually creating configuration files with sensible defaults (4-space indentation, single quotes, semicolons, trailing commas, JSX support, common ignores). Suitable for full-stack projects. Unlike manual setup, it is a one-command solution that can be run via npx without installation. The project is maintained on GitHub and follows an MIT license.
npm install prettier-cmNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Generate Prettier config and format a project using prettier-cm and Prettier.
Run 'npm install -D prettier' after using prettier-cm.
Backup existing files before running the command.
Edit .prettierrc to match your project's style preferences.
Use 'npx prettier-cm' instead.
Run 'npm install -D prettier'.
No dependency data recorded yet.