Prettier vs Standard JS

Need advice about which tool to choose?Ask the StackShare community!

Prettier

5.1K
590
+ 1
7
Standard JS

60
90
+ 1
1
Add tool

Prettier vs Standard JS: What are the differences?

Developers describe Prettier as "Prettier is an opinionated code formatter". 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. On the other hand, Standard JS is detailed as "A JavaScript Standard Style". It is a Style guide, with linter & automatic code fixer. It is a way to enforce consistent style in your project. It automatically formats code.

Prettier and Standard JS can be categorized as "Code Review" tools.

Prettier is an open source tool with 32.7K GitHub stars and 1.81K GitHub forks. Here's a link to Prettier's open source repository on GitHub.

According to the StackShare community, Prettier has a broader approval, being mentioned in 63 company stacks & 60 developers stacks; compared to Standard JS, which is listed in 6 company stacks and 3 developer stacks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Prettier
Pros of Standard JS
  • 2
    Customizable
  • 1
    Open Source
  • 1
    Atom/VSCode package
  • 1
    Follows the Ruby Style Guide by default
  • 1
    Runs offline
  • 1
    Completely free
  • 1
    Free
  • 0
    Customizable

Sign up to add or upvote prosMake informed product decisions

- No public GitHub repository available -

What is Prettier?

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.

What is Standard JS?

It is a Style guide, with linter & automatic code fixer. It is a way to enforce consistent style in your project. It automatically formats code.

Need advice about which tool to choose?Ask the StackShare community!

Jobs that mention Prettier and Standard JS as a desired skillset
CBRE
United States of America Texas Richardson
What companies use Prettier?
What companies use Standard JS?
See which teams inside your own company are using Prettier or Standard JS.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Prettier?
What tools integrate with Standard JS?
    No integrations found

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to Prettier and Standard JS?
    EditorConfig
    It is a file format and collection of text editor plugins. It helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs.
    ESLint
    A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
    TSLint
    An extensible static analysis tool that checks TypeScript code for readability, maintainability, and functionality errors. It is widely supported across modern editors & build systems and can be customized with your own lint rules, configurations, and formatters.
    SonarQube
    SonarQube provides an overview of the overall health of your source code and even more importantly, it highlights issues found on new code. With a Quality Gate set on your project, you will simply fix the Leak and start mechanically improving.
    Stylelint
    A mighty, modern CSS linter that helps you enforce consistent conventions and avoid errors in your stylesheets.
    See all alternatives