Prettier's asset
Prettier

@prettier.io

Opinionated Code Formatter

πŸ“’

Find anything inaccurate?

If you spot any mistakes on this brand profile, report to us.

Banner

Brand Logos

View all
Prettier's logos

Logo

PNG

Prettier's logos

Icon

JPEG

About

Description

Prettier is an opinionated code formatter that offers support for a wide range of programming languages and formats, including JavaScript, JSX, Angular, Vue, TypeScript, CSS, and HTML, among others. It is designed to remove all original styling and ensure that the outputted code conforms to a consistent style. One of the key features of Prettier is its ability to handle long lines of code.


It takes your code and reprints it from scratch, taking into account the line length. This means that even if you have a function call with multiple parameters that stretches the line length, Prettier will automatically wrap the code for you, making it more readable and maintainable. Prettier enforces a consistent code style across your entire codebase by parsing away the original styling and re-printing the parsed AST with its own rules.


This ensures that the code formatting won't affect the Abstract Syntax Tree (AST) of your code. If you want to learn more about Prettier and its benefits, there are several conference talks available as great introductions. Prettier is highly regarded by the developer community and has gained popularity for its ease of use and ability to improve code readability.


You can find further information on their website, including documentation, a blog, and a GitHub repository offering support and the option to donate

Read more...

Brand collections

View all

Logos

Colors

Fonts

Images