</>PackageGraphPackageGraph

prettier

npmv3.9.5TypeScript

Prettier is an opinionated code formatter

112.3M
Weekly downloads
5
Dependents
0
Dependencies
100/100
Popularity

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.

msnpm

Tiny millisecond conversion utility

468.5M/wk2 dependentsMIT
commandernpm

the complete solution for node.js command-line programs

421.3M/wk0 dependentsMITTS
uuidnpm

RFC9562 UUIDs

247.1M/wk0 dependentsMITTS
yamlnpm

JavaScript parser and stringifier for YAML

161.4M/wk2 dependentsISCTS
eslintnpm

An AST-based pattern checker for JavaScript.

134.4M/wk36 dependentsMITTS
csstypenpm

Strict TypeScript and Flow types for style based on MDN data

133.9M/wk1 dependentsMITTS
axiosnpm

Promise based HTTP client for the browser and node.js

105.3M/wk0 dependentsMITTS
rxjsnpm

Reactive Extensions for modern JavaScript

89M/wk1 dependentsApache-2.0TS
longnpm

A Long class for representing a 64-bit two's-complement integer value.

70.6M/wk1 dependentsApache-2.0TS
dayjsnpm

2KB immutable date time library alternative to Moment.js with the same modern API

56.3M/wk0 dependentsMITTS
immernpm

Create your next immutable state by mutating the current one

50.2M/wk1 dependentsMITTS
webpacknpm

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.

48.6M/wk1 dependentsMITTS
reselectnpm

Selectors for Redux.

37M/wk1 dependentsMITTS
reduxnpm

Predictable state container for JavaScript apps

35.6M/wk0 dependentsMITTS
momentnpm

Parse, validate, manipulate, and display dates

32.7M/wk0 dependentsMITTS
react-reduxnpm

Official React bindings for Redux

28.8M/wk1 dependentsMITTS
redux-thunknpm

Thunk middleware for Redux.

24.4M/wk1 dependentsMITTS
@reduxjs/toolkitnpm

The official, opinionated, batteries-included toolset for efficient Redux development

22.6M/wk0 dependentsMITTS
mysql2npm

fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS

12.4M/wk1 dependentsMITTS
named-placeholdersnpm

sql named placeholders to unnamed compiler

11.7M/wk1 dependentsMIT
aws-ssl-profilesnpm

AWS RDS SSL certificates bundles.

10.5M/wk1 dependentsMITTS
kyselynpm

Type safe SQL query builder

10.3M/wk1 dependentsMIT
tarnnpm

Simple and robust resource pool for node.js

6.2M/wk2 dependentsMITTS
knexnpm

A batteries-included SQL query & schema builder for PostgresSQL, MySQL, CockroachDB, MSSQL and SQLite3

4.4M/wk1 dependentsMITTS

Frequently installed together

Version history

VersionPublishedLicense
3.9.5latest9 days agoMIT
3.9.419 days agoMIT
3.9.320 days agoMIT
3.9.220 days agoMIT
3.9.121 days agoMIT
3.9.022 days agoMIT
3.8.523 days agoMIT
3.8.41 month agoMIT
3.8.33 months agoMIT
3.8.23 months agoMIT
3.8.15 months agoMIT
3.8.06 months agoMIT
3.7.47 months agoMIT
3.7.37 months agoMIT
3.7.27 months agoMIT
3.7.17 months agoMIT
3.7.07 months agoMIT
4.0.0-alpha.138 months agoMIT
3.6.21 year agoMIT
3.6.11 year agoMIT

Maintainers

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.