Skip to content
PluginStats

prettier-plugin-sieve weekly downloads statistics

By jaiew · npm · Prettier plugins

Prettier plugin for Sieve email filtering scripts (RFC 5228)

View on npm Stale · Oct 17, 2026

prettier-plugin-sieve has 1 recorded weekly downloads on npm, a decrease of 88.9% over the past 30 days, ranking #2207 of 2,256 tracked listings.

Weekly downloads
1
Official API · Oct 17, 2026
7-day growth
0.0%
0 weekly downloads
30-day growth
-88.9%
-8 weekly downloads
90-day growth
-75.0%
-3 weekly downloads
Rank
#2207
Among tracked npm listings

About prettier-plugin-sieve

prettier-plugin-sieve

A Prettier plugin for formatting Sieve email filtering scripts (RFC 5228).

Features

• Formats .sieve / .siv files via Prettier • Hand-rolled Peggy.js PEG grammar for RFC 5228 core language • Supports: require, if/elsif/else, all standard tests (address, header, envelope, allof, anyof, not, size, exists, true, false), all standard actions (fileinto, redirect, keep, discard, stop, reject, vacation, addflag, setflag, removeflag) • Idempotent — formatting twice gives the same result • Works with Prettier 3.x • IntelliJ IDEA + VS Code Prettier extension compatible

Installation

Configuration

.prettierrc

VS Code (settings.json)

IntelliJ IDEA

Go to Settings → Languages & Frameworks → JavaScript → Prettier:

• Enable "Run on save" • Add **/*.sieve to the "Run for files" glob

Usage

Example

Input (messy):

Output (formatted):

Project Structure

Architecture

1 · Grammar (src/parser/sieve.pegjs)

A Peggy PEG grammar that directly encodes RFC 5228 syntax. Each grammar rule returns a typed AST node with a loc (source location) property. The grammar is compiled at runtime the first time parse() is called (or can be pre-compiled via npm run generate-parser for production builds).

2 · Parser adapter (src/parser/index.ts)

Wraps Peggy's parse() to:

• Return a Script root node • Expose locStart / locEnd so Prettier can attach comments • Surface grammar errors with human-readable messages

3 · Printer (src/printer.ts)

Converts the Sieve AST into Prettier's Doc IR using the doc.builders API:

| Doc primitive | Where used |

| hardline | Between top-level commands and block contents | | softline | Inside string lists, test argument lists | | group | All commands and tests — allows line-breaking when over printWidth | | indent | Block bodies, multi-line list arguments | | join | Comma-separated string lists and test lists |

Building

Testing

Extending

To add support for Sieve extensions (e.g. RFC 5232 sieve-imap-flags, RFC 5230 vacation):

  1. Add new rules to src/parser/sieve.pegjs 2. Add new AST interfaces to src/types.ts 3. Add case branches to printAction / printTest in src/printer.ts

License

MIT

Description from the npm listing.

  • prettier
  • prettier-plugin
  • sieve
  • email
  • filter

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-sieve weekly downloads on npm, last 90 days: 1 weekly downloads as of Oct 17, 2026, -75.0% over 90 days.prettier-plugin-sieveWeekly downloads on npm · Last 90 days1downloads / week-75.0% over 90 days0246810Jul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 17, 2026 · 88 observations · Updated Oc…pluginstats.com
prettier-plugin-sieve weekly downloads on npm, last 90 days: 1 weekly downloads as of Oct 17, 2026, -75.0% over 90 days.

7/30/90-day growth

prettier-plugin-sieve weekly downloads growth on npm: 0.0% over 7 days, -88.9% over 30 days, -75.0% over 90 days.prettier-plugin-sieveWeekly downloads growth on npm1downloads / week now7-day growth+0 weekly downloads0.0%30-day growth-8 weekly downloads-88.9%90-day growth-3 weekly downloads-75.0%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
prettier-plugin-sieve weekly downloads growth on npm: 0.0% over 7 days, -88.9% over 30 days, -75.0% over 90 days.

Ranking history

prettier-plugin-sieve npm ranking history: currently #2207 (by weekly downloads).prettier-plugin-sievenpm ranking · by weekly downloads · Last 90 days#2207current rank#2200#2202#2204#2206#2208#2210Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 18, 2026 – Oct 19, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
prettier-plugin-sieve npm ranking history: currently #2207 (by weekly downloads).

Listing placement

All npm2,256 listings · 113 pages · 1,130 shown · page 111, #8 (overall #2,208)
All npm: every listing in weekly downloads order

Listing placement

Prettier plugins244 listings · 13 pages · page 11, #7 (overall #207)
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 (121)
Recent weekly downloads observations for prettier-plugin-sieve
Date (UTC)Weekly downloadsChange vs. previous
10
10
10
10
10
10
10
1-1
2-3
50
5-2
7-3
10+1
9—

Similar npm Prettier plugins plugins

All 20 prettier-plugin-sieve 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-sieve. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.