Prettier

Best for: Consistent formatting

Overview

Opinionated code formatter for JavaScript, TypeScript, CSS, HTML, Markdown and more, so a team stops arguing about style.

Strengths

  • Almost no config
  • Supported by every editor

Drawbacks

  • Few options if you dislike its style

Alternatives to Prettier

See all 13 →

MDN Web Docs

Learning and looking up web basics
Free

Mozilla's reference and free course for HTML, CSS and JavaScript. The standard place to check how a web API or language feature actually works.

The Modern JavaScript Tutorial

Understanding JavaScript properly
Free

Free, in-depth JavaScript tutorial (javascript.info) from basics to closures, prototypes, promises and async, with exercises after each chapter.

TypeScript Handbook

Learning TypeScript
Free

The official TypeScript guide to types, narrowing, generics and modules. Pair it with the online Playground to try examples.