13 Prettier alternatives

Other javascript & typescript tools, in our recommended order. About Prettier →

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.

Type-Level TypeScript

Going beyond everyday TypeScript
Free + paid options

Interactive course on TypeScript's advanced type system: conditional, mapped and template literal types. The first chapters are free; the rest is paid.

Patterns.dev

Structuring front-end apps
Free

Free book and site on design, rendering and performance patterns for modern JavaScript and React apps.

Vite

Starting a front-end project
Free

Front-end build tool and dev server. Starts instantly, updates the page as you edit, and is the default for new React, Vue and Svelte projects.

Vitest

Unit tests in Vite or TypeScript projects
Free

Test runner built on Vite with a Jest-compatible API, so Jest-style tests mostly work, and TypeScript works without extra setup.

Playwright

Browser end-to-end tests
Free

End-to-end testing from Microsoft for Chromium, Firefox and WebKit, with auto-waiting, tracing and a code generator. Also has Python, .NET and Java versions.

npmPyPINuGet
Visit ↗

ESLint

Catching mistakes in JS/TS
Free

The standard linter for JavaScript, and for TypeScript with typescript-eslint. Finds bugs and enforces rules, with plugins for React and most frameworks.

Biome

Replacing ESLint + Prettier with one tool
Free

Fast all-in-one formatter and linter for JavaScript, TypeScript, JSON and CSS, written in Rust. One tool and one config file instead of ESLint plus Prettier.

Zod

Validating API input and forms in TypeScript
Free

TypeScript-first schema validation: define a schema once, validate data at runtime, and get the TypeScript type from it.

pnpm

Faster installs and monorepos
Free

Package manager for Node.js that stores each package version once on disk and links it into projects, so installs are faster and use less space. Good monorepo support.

WindowsmacOSLinux
Visit ↗

Bun

Fast scripts and tooling in one binary
Free

JavaScript runtime, bundler, test runner and package manager in one, aiming to be a faster drop-in replacement for Node.js.

WindowsmacOSLinux
Visit ↗