Package
prettier-plugin-solidity
A Prettier Plugin for automatically formatting your Solidity code.
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/prettier-plugin-solidity@2.4.1/ - unpkg
https://unpkg.com/prettier-plugin-solidity@2.4.1/ - esm.sh
https://esm.sh/prettier-plugin-solidity@2.4.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| solhint | 123.8k | - | 1 month ago | CommonJS | - |
| prettier-plugin-sh | 339.9k | - | today | ESM + CommonJS | - |
Indexability: Indexed.