Skip to content
JS
Package

prettier-plugin-astro

A Prettier Plugin for formatting Astro files

v1.1.0, 24 Sept 2026MITESM onlyTypes: BundledLinting and formatting
$ npm install prettier-plugin-astro

Key numbers

As of 25 Sept 2026
Weekly downloads
829.3k
+190% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
today
v1.1.0
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
0250k500k750k1mSept 2025Mar 2026Sept 2026High 948.9k (8 Sept 2026)Low 176.3k (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.

829,300 downloads last week, 3,543,018 in the last month. The 12-month change of +190% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
343 in total
Latest version
1.1.0, 24 Sept 2026today
First published
22 Sept 2021
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

  1. v1 first release 1.0.0, 8 Sept 2026
  2. v0 first release 0.0.1, 22 Sept 2021

Recent releases

VersionPublished
1.1.024 Sept 2026
1.0.117 Sept 2026
1.0.08 Sept 2026
0.14.116 Jul 2024
0.14.024 May 2024
0.13.019 Jan 2024
0.12.327 Dec 2023
0.12.213 Nov 2023
0.12.125 Oct 2023
0.12.022 Aug 2023
0.11.115 Aug 2023
0.11.012 Jul 2023
0.10.01 Jun 2023
0.9.126 May 2023
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=22.12.0
Runtimes
-
Unpacked size (npm)
174 kB
Dependencies (3)
sass-formatter@astrojs/compiler-rs@prettier/parse-srcset
Peer dependencies (1)
prettier
npm install prettier-plugin-astro
  • jsDelivrhttps://cdn.jsdelivr.net/npm/prettier-plugin-astro@1.1.0/
  • unpkghttps://unpkg.com/prettier-plugin-astro@1.1.0/
  • esm.shhttps://esm.sh/prettier-plugin-astro@1.1.0
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet.