Skip to content
JS
Package

prettier-plugin-solidity

A Prettier Plugin for automatically formatting your Solidity code.

v2.4.1, 10 Aug 2026MITESM onlyTypes: NoneLinting and formattingBlockchain and Web3
$ npm install prettier-plugin-solidity

Key numbers

As of 25 Sept 2026
Weekly downloads
92.7k
+10% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
1 month ago
v2.4.1
GitHub stars
752
87 forks
Open issues / PRs
3 / 12
Contributors
-
Commits, last 52 weeks
372

Downloads

Last week 2026-09-15 to 2026-09-21
050k100k150k200kSept 2025Mar 2026Sept 2026High 173k (12 May 2026)Low 41.6k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

92,724 downloads last week, 509,054 in the last month. The 12-month change of +10% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.4.1, 10 Aug 20261 month ago
First published
-
Last push to GitHub
25 Sept 2026same day as the snapshot
Repository archived
No
Open issues
3
Open pull requests
12
Commits, last 52 weeks
372
Dependents on npm
121

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=20
Runtimes
-
Unpacked size (npm)
8.8 MB
Dependencies (3)
semver@nomicfoundation/slang@solidity-parser/parser
Peer dependencies (1)
prettier
npm install prettier-plugin-solidity
  • jsDelivrhttps://cdn.jsdelivr.net/npm/prettier-plugin-solidity@2.4.1/
  • unpkghttps://unpkg.com/prettier-plugin-solidity@2.4.1/
  • esm.shhttps://esm.sh/prettier-plugin-solidity@2.4.1
PackageWeekly downloadsGzipLast releaseModuleComparison
solhint123.8k-1 month agoCommonJS-
prettier-plugin-sh339.9k-todayESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.