Skip to content
PluginStats

prettier-plugin-pascal weekly downloads statistics

By oisanjaya · npm · Prettier plugins

A modern, opinionated Prettier plugin that automatically formats Pascal code—including Delphi, Object Pascal, Free Pascal, and Lazarus—with fast, consistent, and reliable styling for a seamless development experience.

View on npm Fresh · Dec 6, 2026

prettier-plugin-pascal has 44 recorded weekly downloads on npm, an increase of 193% over the past 30 days, ranking #2800 of 3,247 tracked listings.

Weekly downloads
44
Official API · Dec 5, 2026
7-day growth
-82.0%
-201 weekly downloads
30-day growth
+193%
+29 weekly downloads
90-day growth
-78.4%
-160 weekly downloads
Rank
#2800
▼ 469 in 7 days

About prettier-plugin-pascal

Prettier Pascal Plugin

Node.js CI NPM Version NPM Downloads Static Badge

Intro

Prettier is an opinionated code formatter. It parses your code and reprints it using consistent formatting rules while taking the configured maximum line length into account.

This plugin adds support for the Pascal language to Prettier. I believe that Pascal code deserves the same love and consistency as any modern language.

It uses tree-sitter-pascal to parse Pascal source code and generates Prettier's document structure from the resulting syntax tree.

Input
<!-- prettier-ignore -->
program HelloWorld;
var
x,y: Integer;

begin
writeln('Hello World!');



if x>y then
begin
writeln('x is greater');
end
else
writeln('y is greater');
end.
Output
program HelloWorld;
  var
    x, y: Integer;

begin
  writeln('Hello World!');

  if x > y then
    begin
      writeln('x is greater');
    end
  else
    writeln('y is greater');
end.

Getting Started

Installation

npm:

npm install --save-dev --save-exact prettier prettier-plugin-pascal

Yarn:

yarn add --dev --exact prettier prettier-plugin-pascal
Usage

npm:

npx prettier --plugin=prettier-plugin-pascal --write "**/*.{pas,pascal,pp}"

Yarn:

yarn exec prettier --plugin=prettier-plugin-pascal --write "**/*.{pas,pascal,pp}"
Supported Extensions

The plugin currently targets these Pascal file extensions:

.pas
.pp
.pascal
Features

The formatter is based on a Tree-sitter Pascal grammar and supports formatting of Pascal constructs including:

  • Programs, libraries, and units
  • Variable, constant, type, and procedure declarations
  • Classes, interfaces, records, properties, and variant records
  • Expressions and operators
  • Procedure/function implementations
  • Control-flow constructs such as if, while, for, repeat, case, and try
  • Generic and type-reference syntax
  • Pascal and Delphi/FPC-oriented language constructs

Formatting coverage is still evolving, and some advanced Pascal/Delphi/FPC constructs may fall back to a generic printer.

Development

The plugin uses a precompiled tree-sitter-pascal pinned at v0.11.0.9e9f070 release WebAssembly parser. The parser binary is bundled into the published package, so users do not need to install or compile the Pascal grammar separately.

The project can be built with:

npm install
npm run build

Contributing

Contributions, bug reports, formatting examples, and additional Pascal language test cases are welcome.

See CONTRIBUTING.md.

License

See LICENSE.

Description from the npm listing.

  • prettier
  • prettier-plugin
  • formatter
  • code-formatter
  • pascal
  • object-pascal
  • delphi
  • freepascal
  • fpc
  • lazarus
  • source-code
  • code-style
  • formatting
  • developer-tools

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

prettier-plugin-pascal weekly downloads on npm, last 90 days: 44 weekly downloads as of Dec 5, 2026, -78.4% over 90 days.prettier-plugin-pascalWeekly downloads on npm · Last 90 days44downloads / week-78.4% over 90 days050100150200250Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
prettier-plugin-pascal weekly downloads on npm, last 90 days: 44 weekly downloads as of Dec 5, 2026, -78.4% over 90 days.

7/30/90-day growth

prettier-plugin-pascal weekly downloads growth on npm: -82.0% over 7 days, +193% over 30 days, -78.4% over 90 days.prettier-plugin-pascalWeekly downloads growth on npm44downloads / week now7-day growth-201 weekly downloads-82.0%30-day growth+29 weekly downloads+193%90-day growth-160 weekly downloads-78.4%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
prettier-plugin-pascal weekly downloads growth on npm: -82.0% over 7 days, +193% over 30 days, -78.4% over 90 days.

Ranking history

prettier-plugin-pascal npm ranking history: currently #2800 (by weekly downloads).prettier-plugin-pascalnpm ranking · by weekly downloads · Last 90 days#2800current rank#1600#1800#2000#2200#2400#2600#2800#3000Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
prettier-plugin-pascal npm ranking history: currently #2800 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 141, #1 (overall #2,801)
All npm: every listing in weekly downloads order

Listing placement

Prettier plugins267 listings · 14 pages · page 6, #20 (overall #120)
Prettier plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (170)
Recent weekly downloads observations for prettier-plugin-pascal
Date (UTC)Weekly downloadsChange vs. previous
44+21
23-11
34+12
22-6
28-7
35-17
52-193
245+2
243+13
230-9
239+6
233+8
225+18
207—

Similar npm Prettier plugins plugins

All 20 prettier-plugin-pascal alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/prettier-plugin-pascal. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.