Prettier

Prettier is an opinionated code formatter.
Alternatives To Prettier
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Prettier45,709
6 hours ago1,176mitJavaScript
Prettier is an opinionated code formatter.
Vue Cleave Component28218258 months ago13October 17, 2022mitJavaScript
Vue.js component for Cleave.js input mask library :keyboard:
Vue Vscode Extensionpack249
3 years ago4mit
The extensions I use when developing a Vue application with VS Code
Prettyhtml24448282 years ago108June 21, 20198mitJavaScript
💅 The formatter for the modern web https://prettyhtml.netlify.com/
Slider182114 months ago25January 13, 20232mitJavaScript
Vue 3 slider component with multihandles, tooltips merging and formatting (+Tailwind CSS support).
Coc Vetur156
2 years ago5TypeScript
Vue language server extension for coc.nvim
Vue3 Datepicker127175 days ago14May 13, 202212mitVue
Simple datepicker component for Vue 3
Vue Filters Kit126
5 years ago1October 14, 2018HTML
A collection of useful custom filters for Vue.js(v2.x.x) apps.
Vue Filter Date Format11484a month ago15January 26, 20201mitTypeScript
Simple date formatting filter for Vue.js
Eslint Plugin Prettier Vue8847a year ago22June 30, 20221mitTypeScript
:ok_hand: ESLint plugin for Prettier formatting, which is better for Vue SFC
Alternatives To Prettier
Select To Compare


Alternative Project Comparisons
Readme

Prettier Banner

Opinionated Code Formatter

JavaScript TypeScript Flow JSX JSON
CSS SCSS Less
HTML Vue Angular
GraphQL Markdown YAML
Your favorite language?

Github Actions Build Status Github Actions Build Status Github Actions Build Status Codecov Coverage Status Blazing Fast
npm version weekly downloads from npm code style: prettier Follow Prettier on Twitter

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!


Documentation

Install Options CLI API

Playground


Badge

Show the world you're using Prettier code style: prettier

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)

Contributing

See CONTRIBUTING.md.

Popular Formatter Projects
Popular Vue Projects
Popular Text Processing Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Javascript
Typescript
Html
Css
Vue
Angular
Json
Markdown
Scss
Graphql
Yaml
Flow
Formatter
Less
Prettier
Jsx
Printer
Abstract Syntax Tree