prettier VS Standard

Compare prettier vs Standard and see what are their differences.

Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • Sonar - Write Clean JavaScript Code. Always.
  • InfluxDB - Build time-series-based applications quickly and at scale.
prettier Standard
341 67
44,783 27,881
0.6% 0.3%
9.6 7.4
3 days ago 9 days ago
JavaScript JavaScript
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 2023-02-07.
  • Dumb question
    2 projects | reddit.com/r/learnjavascript | 7 Feb 2023
    Its easier to always include them so you don't get caught up on the few places where it does matter. And if you're using a formatter like prettier, you can get them included automatically for you.
  • Effective Refactoring with Codemods
    5 projects | dev.to | 30 Jan 2023
    Have you ever used a transpiler, a linter or a code formatter, such as: Babel, ESLint or Prettier? If the answer is yes, then you've already used metaprogramming! 👏
  • 20 Best Libraries and Tools for React Developers
    11 projects | dev.to | 25 Jan 2023
    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. It is very useful to keep your code readable and make sure that the code format stays consistent when working in a team.
  • x=10 vs let x=10
    3 projects | reddit.com/r/learnjavascript | 20 Jan 2023
    Professional: also set up Prettier, its IDE extension, and use VS Code's "Format on save" feature (or whatever other IDE's equivalent) to quickly and easily format your code to a consistent standard that you define in the configuration for ESLint and Prettier.
  • Goodbye prettier, welcome ESLint
    2 projects | dev.to | 8 Jan 2023
    Like many developers I have used prettier for a long time for most of my projects. It has been the go-to formatting tool for front-end developers and for a good reason. It provides opinionated formatting with minimal options. This coupled with a wide IDE support makes it easy to setup and user.
  • Starting React Native Project in 2023
    13 projects | dev.to | 6 Jan 2023
    Prettier is an opinionated code formatter. Let's install it.
  • Let's do a war
    4 projects | reddit.com/r/ProgrammerHumor | 29 Dec 2022
    Prettier works with lots of languages. Not just js. Check it out: https://prettier.io/
  • The best Angular 15 Starter Project
    7 projects | dev.to | 26 Dec 2022
    ✅ Angular 15 ✅ Angular Material ✅ Unit Testing with Jest ✅ End-to-End Testing with [TestCafé](https://testcafe.io/ ✅ Internationalization with Transloco ✅ Auto documentation with Compodoc ✅ Analyse your project with webpack-bundle-analyzer ✅ Docker ✅ ESLint ✅ Prettier ✅ Commit Linting ✅ AuditJS Audit this application using Sonatype OSS Index ✅ Auto-generate a CHANGELOG with auto-changelog
  • ¿El IDE que se elije cambia algo la forma en que se escriben los programas? ¿Cambia algo la forma de escribir un programa en Java si se usa Eclipse o si se usa NetBeans?
    2 projects | reddit.com/r/programacion | 22 Dec 2022
  • Set up a Node.js App with ESLint and Prettier
    3 projects | dev.to | 19 Dec 2022
    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. It is very useful to keep your code readable and make sure that the code format stays consistent when working in a team. It also supports many programming languages such as : JavaScript, TypeScript, CSS, GraphQL, JSON and much more.

Standard

Posts with mentions or reviews of Standard. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-07.
  • Dumb question
    2 projects | reddit.com/r/learnjavascript | 7 Feb 2023
    For example, if you use https://standardjs.com/ - it will error on your second code snippet and if you ask it for an autofix - it will transfer the minus sign to the first line.
  • Unleash the Power of Java: A JavaScript Developer's Guide to Best Practices in Java Development
    2 projects | dev.to | 5 Feb 2023
    In comparison, JavaScript doesn't have a strict coding standard, although it does have widely accepted code style guides like the Airbnb JavaScript Style Guide and the JavaScript Standard Style. These guides provide recommendations for code formatting and naming conventions, but they are not as strictly enforced as the Java coding standard.
  • Best Websites For Coders
    51 projects | dev.to | 25 Jan 2023
    Standard JS Style Guide : JavaScript style guide, with linter & automatic code fixer
  • WebTorrent
    14 projects | news.ycombinator.com | 29 Nov 2022
    Disclosure: I'm the author of WebTorrent.

    It's so fulfilling to see WebTorrent still popping up on Hacker News after all these years. I started the project in 2013 and devoted most of my 20s to working on it, ultimately becoming a full-time open source maintainer, and writing hundreds of npm packages including buffer (https://github.com/feross/buffer), simple-peer (https://github.com/feross/simple-peer), and StandardJS (https://standardjs.com/).

    I started WebTorrent with the goal of extending the BitTorrent protocol to become more web-friendly, allowing any browser to become a peer in the torrent network. Within less than a year of starting the project, I got WebTorrent fully working. And it worked _well_, beating many native torrent apps in terms of raw download speed and the ability to stream videos within seconds of adding a torrent.

    WebTorrent never got as much attention as the cryptocurrency projects selling tokens throughout the mid-2010s, even though WebTorrent actually worked and had more real users than almost all of them :) I was never tempted to add a crypto-token to WebTorrent, despite many well-meaning friends telling me to do it. Nonetheless, WebTorrent served as an accessible on-ramp to the world of decentralized tech, along with other projects like Dat (https://dat-ecosystem.org/) and Secure Scuttlebutt (https://scuttlebutt.nz/).

    But WebTorrent is more than a protocol extension to BitTorrent. We built a popular desktop torrent client, WebTorrent Desktop (https://webtorrent.io/desktop/), which supports powerful features like instant video streaming.

    We also build a `webtorrent` JavaScript package (see https://socket.dev/npm/package/webtorrent) which implements the full BitTorrent/WebTorrent protocol in JavaScript. This implementation uses TCP, UDP, and/or WebRTC for peer-to-peer transport in any environment – whether Node.js (TCP/UDP), Electron (TCP/UDP/WebRTC), or the web browser (WebRTC). In the browser, the `webtorrent` package uses WebRTC which doesn’t require a browser plugin, extension, or any kind of installation to work.

    If you’re building a website and want to fetch files from a torrent, you can use `webtorrent` to do that directly client-side, in a decentralized manner. The WebTorrent Workshop (https://webtorrent.github.io/workshop/) is helpful for getting started and teaches you how to download and stream a torrent into an HTML page in just 10 lines of code.

    Now that WebTorrent is fully supported in nearly all the most popular torrent clients, including uTorrent, dare I say that we succeeded? It's been a long and winding journey, but I'm glad to have played a role in making this happen. Special shoutouts to all the open source contributors over the years, especially Diego R Baquero, Alex Morais,

    P.S. If you're curious what I'm up to now, I'm building Socket (https://socket.dev). And there's actually a WebTorrent connection, too. Socket came out of a prior product we built called Wormhole (https://wormhole.app), an end-to-end encrypted file transfer application built using WebTorrent under-the-hood (Show HN thread: https://news.ycombinator.com/item?id=26666142). Like Firefox Send before it, security was a primary goal of Wormhole (see security details here: https://wormhole.app/security). But one area where we were lacking was in how we audited our open source dependencies. Like most teams building a JavaScript app, we had a large node_modules folder filled with lots of constantly updating third-party code. The risk of a software supply chain attack was huge, especially with 30% of our visitors coming from China. As most teams do, we enforced code review for all our first-party code. But similar to most teams, we were pulling in third-party dependencies and dependency updates without even glancing at the code (this is something that almost every company does today). We knew we needed to do better for our users. We looked around for a solution to analyze the risk of open source packages but none existed. So we decided to build Socket.

    Socket helps developers ship faster and spend less time on security busywork by helping them safely find, audit, and manage OSS. Socket provides a comprehensive open source risk analysis. By analyzing the full picture – from maintainers and how they behave, to open-source codebases and how they evolve – we enable developers and security teams to identify risk from malware, hidden code, typo-squatting, misleading packages, permission creep, unmaintained or abandoned packages, and poor security practices. For one quick example, take a look at the risks we identified in this Angular.js calendar library: https://socket.dev/npm/package/angular-calendar/issues/0.30....

  • Front-end Guide
    54 projects | dev.to | 23 Nov 2022
    Standard
  • Meteor and React Native - Create a native mobile app
    4 projects | dev.to | 26 Oct 2022
  • Por que esto tan sencillo no me funciona? Me quiero matar
    2 projects | reddit.com/r/programacion | 17 Sep 2022
  • The Best GitHub Repositories For Django Developers.
    23 projects | dev.to | 12 Sep 2022
    Welcome to django-allauth! Integrated set of Django applications addressing authentication registration, account management as well as 3rd party (social) account authentication. Home page http://www.intenct.nl/projects/django-allauth/ Source code http://github.com/pennersr/django-allauth Mailing list http://groups.google.com/group/django-allauth Documentation https://django-allauth.readthedocs.io/en/latest/ Stack Overflow http://stackoverflow.com/questions/tagged/django-allauth Rationale Most existing Django apps that address the problem of social authentication focus on just that. You typically need to integrate another app in order to support authentication via a local account. This approach separates the worlds of local and social authentication. However, there are common scenarios to be dealt with in both worlds. For example, an e-mail address passed along by an OpenID provider is not guaranteed to be verified. So, before hooking an OpenID account up to a local account the e-mail address must be verified. So, e-mail verification needs to be present in both worlds. Integrating both worlds is quite a tedious process. It is definitely not a matter of simply adding…
  • what a weirdo
    2 projects | reddit.com/r/ProgrammerHumor | 3 Sep 2022
    Kid has standard, though.
    2 projects | reddit.com/r/ProgrammerHumor | 3 Sep 2022
    why those freaks at "JavaScript Standard Style" always wearing the blue sleeveless tees? Shoulda got green, orange, or red - like a real coder.

What are some alternatives?

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

black - The uncompromising Python code formatter

XO - ❤️ JavaScript/TypeScript linter (ESLint wrapper) with great defaults

JS-Beautifier - Beautifier for javascript

eslint-config-xo - ESLint shareable config for XO

ESLint - Find and fix problems in your JavaScript code.

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

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

dprint - Pluggable and configurable code formatting platform written in Rust.

pretty-quick - ⚡ Get Pretty Quick

markdownlint-cli - MarkdownLint Command Line Interface

husky - Git hooks made easy 🐶 woof!