prettier
npmv3.9.5TypeScriptPrettier is an opinionated code formatter
Overview
prettier is an npm package that prettier is an opinionated code formatter. It is extremely widely used, with about 112.3M downloads per week and 5 known dependents in the graph. The latest version is 3.9.5, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need prettier is an opinionated code formatter and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (112.3M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
- Zero runtime dependencies — minimal footprint.
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of prettier.
Used by
Popular packages that depend on prettier.
Tiny millisecond conversion utility
the complete solution for node.js command-line programs
RFC9562 UUIDs
JavaScript parser and stringifier for YAML
An AST-based pattern checker for JavaScript.
Strict TypeScript and Flow types for style based on MDN data
Promise based HTTP client for the browser and node.js
Reactive Extensions for modern JavaScript
A Long class for representing a 64-bit two's-complement integer value.
2KB immutable date time library alternative to Moment.js with the same modern API
Create your next immutable state by mutating the current one
Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
Selectors for Redux.
Predictable state container for JavaScript apps
Parse, validate, manipulate, and display dates
Official React bindings for Redux
Thunk middleware for Redux.
The official, opinionated, batteries-included toolset for efficient Redux development
fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS
sql named placeholders to unnamed compiler
AWS RDS SSL certificates bundles.
Type safe SQL query builder
Simple and robust resource pool for node.js
A batteries-included SQL query & schema builder for PostgresSQL, MySQL, CockroachDB, MSSQL and SQLite3
Frequently installed together
TypeScript definitions for node
An AST-based pattern checker for JavaScript.
Next generation testing framework powered by Vite
Delightful JavaScript Testing.
An extremely fast JavaScript and CSS bundler and minifier.
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
The semantic version parser used by npm.
React is a JavaScript library for building user interfaces.
V8 coverage provider for Vitest
TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files
ECMAScript parser
Lodash modular utilities.
Version history
| Version | Published | License |
|---|---|---|
| 3.9.5latest | 9 days ago | MIT |
| 3.9.4 | 19 days ago | MIT |
| 3.9.3 | 20 days ago | MIT |
| 3.9.2 | 20 days ago | MIT |
| 3.9.1 | 21 days ago | MIT |
| 3.9.0 | 22 days ago | MIT |
| 3.8.5 | 23 days ago | MIT |
| 3.8.4 | 1 month ago | MIT |
| 3.8.3 | 3 months ago | MIT |
| 3.8.2 | 3 months ago | MIT |
| 3.8.1 | 5 months ago | MIT |
| 3.8.0 | 6 months ago | MIT |
| 3.7.4 | 7 months ago | MIT |
| 3.7.3 | 7 months ago | MIT |
| 3.7.2 | 7 months ago | MIT |
| 3.7.1 | 7 months ago | MIT |
| 3.7.0 | 7 months ago | MIT |
| 4.0.0-alpha.13 | 8 months ago | MIT |
| 3.6.2 | 1 year ago | MIT |
| 3.6.1 | 1 year ago | MIT |
Funding
Frequently asked questions
How do I install prettier?
Run `npm install prettier` to add prettier to your npm project.
What license is prettier released under?
prettier is distributed under the MIT license.
How popular is prettier?
prettier has approximately 112,342,228 downloads per week and 5 known dependent packages.