Buckets:
3.85 GB
70,867 files
Updated 17 days ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| plugins | 39 items | ||
| internal | 1 items | ||
| bin | 1 items | ||
| standalone.mjs | 81.9 kB xet | 8358941c | |
| standalone.js | 82.1 kB xet | a9418afe | |
| standalone.d.ts | 1.37 kB xet | f5cb4869 | |
| package.json | 6.92 kB xet | f22c409a | |
| index.mjs | 744 kB xet | 09f60cd1 | |
| index.d.ts | 27.1 kB xet | 9cad9902 | |
| index.cjs | 36.9 kB xet | 73f0bfba | |
| doc.mjs | 50.2 kB xet | 05fb35c2 | |
| doc.js | 53.8 kB xet | 12f61678 | |
| doc.d.ts | 7.42 kB xet | 240fd440 | |
| THIRD-PARTY-NOTICES.md | 208 kB xet | 65172c4c | |
| README.md | 3.94 kB xet | 42f02fdf | |
| LICENSE | 1.07 kB xet | ada3245f |
Opinionated Code Formatter
JavaScript
· TypeScript
· Flow
· JSX
· JSON
CSS
· SCSS
· Less
HTML
· Vue
· Angular
GraphQL
· Markdown
· YAML
Your favorite language?
Intro
Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.
Input
foo(reallyLongArg(), omgSoManyParameters(), IShouldRefactorThis(), isThereSeriouslyAnotherOne());
Output
foo(
reallyLongArg(),
omgSoManyParameters(),
IShouldRefactorThis(),
isThereSeriouslyAnotherOne(),
);
Prettier can be run in your editor on-save, in a pre-commit hook, or in CI environments to ensure your codebase has a consistent style without devs ever having to post a nit-picky comment on a code review ever again!
Badge
Show the world you're using Prettier →
[](https://github.com/prettier/prettier)
Contributing
See CONTRIBUTING.md.
- Total size
- 3.85 GB
- Files
- 70,867
- Last updated
- Nov 3
- Pre-warmed CDN
- US EU US EU