prettier VS black

Compare prettier vs black and see what are their differences.

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • OPS - Build and Run Open Source Unikernels
prettier black
159 134
41,691 24,350
1.0% 2.4%
9.8 9.4
1 day ago 7 days ago
JavaScript Python
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

prettier

Posts with mentions or reviews of prettier. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-22.

black

Posts with mentions or reviews of black. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-16.

What are some alternatives?

When comparing prettier and black you can also consider the following projects:

yapf - A formatter for Python files

autopep8 - A tool that automatically formats Python code to conform to the PEP 8 style guide.

JS-Beautifier - Beautifier for javascript

isort - A Python utility / library to sort imports.

JSHint - JSHint is a tool that helps to detect errors and potential problems in your JavaScript code

Standard - 🌟 JavaScript Style Guide, with linter & automatic code fixer

ESLint - Find and fix problems in your JavaScript code.

Pylint - It's not just a linter that annoys you!

awesome-python-typing - Collection of awesome Python types, stubs, plugins, and tools to work with them.

mypy - Optional static typing for Python

prettier-plugin-organize-imports - Make Prettier organize your imports using the TypeScript language service API.

autoflake - Removes unused imports and unused variables as reported by pyflakes