Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/microsoft/parallel-prettier
Concurrent prettier runner
https://github.com/microsoft/parallel-prettier
formatter nodejs prettier
Last synced: about 2 months ago
JSON representation
Concurrent prettier runner
- Host: GitHub
- URL: https://github.com/microsoft/parallel-prettier
- Owner: microsoft
- License: mit
- Created: 2019-05-08T16:37:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-16T17:33:24.000Z (3 months ago)
- Last Synced: 2024-07-24T00:04:54.287Z (2 months ago)
- Topics: formatter, nodejs, prettier
- Language: TypeScript
- Size: 308 KB
- Stars: 195
- Watchers: 9
- Forks: 18
- Open Issues: 10
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-list - parallel-prettier
README
# @mixer/parallel-prettier
A wrapper around [prettier]() that formats files in parallel to speed up large projects.
```
npm install -g @mixer/parallel-prettier
```After installing the CLI, the `pprettier` command will be available to you.
### Ad-hoc Performance
```
# 300 file project:prettier --write "src/**/*.{ts,tsx,json,scss}" 6.57s user 0.55s system 131% cpu 5.405 total
pprettier --write "src/**/*.{ts,tsx,json,scss}" 0.41s user 0.08s system 14% cpu 3.455 total# 1200 file project:
prettier --write "src/**/*.{ts,tsx,json,scss}" 27.09s user 3.26s system 123% cpu 24.496 total
pprettier --write "src/**/*.{ts,tsx,json,scss}" 1.21s user 0.27s system 14% cpu 10.580 total
```