https://github.com/prettier/prettier-cli
A faster CLI for Prettier.
https://github.com/prettier/prettier-cli
cli prettier
Last synced: about 1 month ago
JSON representation
A faster CLI for Prettier.
- Host: GitHub
- URL: https://github.com/prettier/prettier-cli
- Owner: prettier
- License: mit
- Created: 2023-11-28T17:30:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-06T01:56:06.000Z (about 1 month ago)
- Last Synced: 2025-05-09T00:09:56.593Z (about 1 month ago)
- Topics: cli, prettier
- Language: TypeScript
- Homepage:
- Size: 858 KB
- Stars: 36
- Watchers: 10
- Forks: 6
- Open Issues: 24
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# prettier-cli
A faster CLI for Prettier.
The goal is to make this close to ~100% backwards compatible, and then just ship it in a future stable release of the `prettier` package, replacing the current CLI.
If you find any bugs, missing features, or unexpected slowness, please open an issue.
## Installation
```sh
npm install prettier@next
```It should be largely backwards compatible:
```sh
prettier . --check # Like before, but faster
```You can also try it via `npx`, though `npx` itself is pretty slow:
```sh
npx prettier@next . --check
```