Skip to content
PluginStats

@ynode/sqrl-lint weekly downloads statistics

By ynode · npm · Prettier plugins

Tag-aware linter, formatter, and Prettier plugin for Squirrelly (.sqrl) templates

View on npm Fresh · Dec 6, 2026

@ynode/sqrl-lint has 118 recorded weekly downloads on npm, a decrease of 21.3% over the past 30 days, ranking #2586 of 3,247 tracked listings.

Weekly downloads
118
Official API · Dec 5, 2026
7-day growth
+29.7%
+27 weekly downloads
30-day growth
-21.3%
-32 weekly downloads
90-day growth
-82.0%
-538 weekly downloads
Rank
#2586
▼ 64 in 7 days

About @ynode/sqrl-lint

@ynode/sqrl-lint

Copyright (c) 2026 Michael Welter me@mikinho.com

npm version License: MIT

A dedicated linter and formatter for Squirrelly (.sqrl) templates, built specifically for the @ynode Fastify ecosystem. It combines a tag-aware formatter with Squirrelly engine validation and targeted semantic rules based on real template failures. Surrounding HTML, CSS, and JavaScript remain untouched.

Features

  • Strict Formatting: Enforces consistent spacing for helpers ({{@, {{#), base brackets ({{, }}), raw outputs ({{*), whitespace controls, execution tags ({{!), and block closures ({{/).
  • Semantic Guardrails: Catches bare logical OR expressions, dead elseif spellings, output assignments, unsafe JSON rendering, invalid native branches, malformed templates, and optional project policies.
  • Engine Validation: Compiles each finalized template with Squirrelly so malformed JavaScript, comments, and helper structure fail during linting instead of at request time.
  • Actionable Diagnostics: Emits stable rule IDs with one-based line and column locations in text, JSON, and SARIF 2.1.0 reports.
  • Read-Only Checks: Fails CI pipelines with exit code 1 for formatting or semantic violations.
  • Quality of Life: Automatically ignores node_modules by default and presents beautiful, colorized error logs and success reports.
  • Conservative Auto-Repair: --fix applies formatting and semantics-preserving repairs while leaving judgment calls as diagnostics.
  • Fast-Glob Powered: Built-in fast-glob processing natively supports arbitrary inclusion and exclusion targeting.

Node.js support

This package requires Node.js 20.19.0 or newer. CI exercises the exact 20.19.0, 22.13.0, and 24.0.0 boundaries. Node.js 20 remains tested only to preserve the current major-version contract even though upstream support has ended; use Node.js 22 or 24 for supported production deployments. A newly released Node.js major is not considered supported until it is added to CI, even when the open engines range admits it.

Installation

npm install -D @ynode/sqrl-lint

Supported runtimes are Node.js 20 at 20.19 or newer, Node.js 22 at 22.12 or newer, or Node.js 23+, matching the CLI's yargs runtime dependency.

Usage

You can use the linter either manually via npx or wire it directly into your package.json scripts block.

Check Formatting (Read-Only)
npx sqrl-lint "src/**/*.sqrl"

If any files need formatting or contain semantic errors, diagnostics are logged to stderr and the process exits with a non-zero code (see Exit Codes).

Auto-Fix Formatting
npx sqrl-lint "src/**/*.sqrl" --fix

Applies formatting plus safe semantic repairs. Non-fixable findings, such as an assignment in an output tag, remain diagnostics and still produce exit code 1 after fix mode.

JSON Reporting
npx sqrl-lint "src/**/*.sqrl" --report json

In file mode, this emits a machine-readable JSON summary to stdout, suitable for CI/log parsers. In --stdin mode, formatted template content uses stdout, so the JSON report is written to stderr instead. Both modes use the same summary schema: mode and success, aggregate file/error counts, concurrency and duration, plus a results array with per-file statuses and diagnostics. Each diagnostic includes ruleId, severity, message, index, line, column, and fixable. Check-mode locations refer to the invocation's original input. After --fix writes safe repairs, unresolved diagnostics are recalculated against the finalized file or stdout content.

SARIF Reporting
npx sqrl-lint "src/**/*.sqrl" --report sarif > sqrl-lint.sarif

SARIF 2.1.0 output integrates with code-scanning systems while keeping rule IDs and source locations stable. Semantic diagnostics retain their normal IDs, and formatting differences use the dedicated formatting rule at the first changed source position. Successful --fix runs omit resolved findings. Project files use portable %SRCROOT%-relative artifact URIs, and operational failures appear as invocation notifications.

As with JSON reporting, file-mode SARIF is written to stdout; stdin template data stays on stdout, so --stdin --report sarif writes the report to stderr.

Disable ANSI Colors
npx sqrl-lint "src/**/*.sqrl" --no-color

Disables ANSI color styling in text output.

Diffs (Check Mode)
npx sqrl-lint "src/**/*.sqrl" --diff

Unified diffs are enabled by default for each file that needs formatting, making CI failures actionable. Use --no-diff to suppress them.

Ignore Additional Files
npx sqrl-lint "src/**/*.sqrl" --ignore "src/vendor/**" --ignore "**/*.generated.sqrl"

Adds one or more glob patterns to the built-in ignores. If no input files match after ignores are applied, the command reports an operational error and exits with code 2.

Parallel Processing
npx sqrl-lint "src/**/*.sqrl" --fix --concurrency 4

Processes files with bounded parallelism for faster runs on large repositories.

Stdin / Editor Integration
cat src/views/home.sqrl | npx sqrl-lint --stdin --fix

Reads template content from stdin and writes the formatted output to stdout, making it ideal for editor "format on save" integrations, shell pipelines, and git hooks. Anonymous stdin uses the base lint configuration. Use --stdin-filepath <path> to control the filename shown in error messages and diffs and opt that virtual path into matching configuration overrides.

Quiet Mode
npx sqrl-lint "src/**/*.sqrl" --quiet
```…

Description from the npm listing.

  • squirrelly
  • sqrl
  • template
  • linter
  • formatter
  • lint
  • format
  • prettier
  • prettier-plugin
  • code-style
  • template-linter
  • ynode

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

@ynode/sqrl-lint weekly downloads on npm, last 90 days: 118 weekly downloads as of Dec 5, 2026, -82.0% over 90 days.@ynode/sqrl-lintWeekly downloads on npm · Last 90 days118downloads / week-82.0% over 90 days0100200300400500600Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@ynode/sqrl-lint weekly downloads on npm, last 90 days: 118 weekly downloads as of Dec 5, 2026, -82.0% over 90 days.

7/30/90-day growth

@ynode/sqrl-lint weekly downloads growth on npm: +29.7% over 7 days, -21.3% over 30 days, -82.0% over 90 days.@ynode/sqrl-lintWeekly downloads growth on npm118downloads / week now7-day growth+27 weekly downloads+29.7%30-day growth-32 weekly downloads-21.3%90-day growth-538 weekly downloads-82.0%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@ynode/sqrl-lint weekly downloads growth on npm: +29.7% over 7 days, -21.3% over 30 days, -82.0% over 90 days.

Ranking history

@ynode/sqrl-lint npm ranking history: currently #2586 (by weekly downloads).@ynode/sqrl-lintnpm ranking · by weekly downloads · Last 90 days#2586current rank#1600#1800#2000#2200#2400#2600Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
@ynode/sqrl-lint npm ranking history: currently #2586 (by weekly downloads).

Listing placement

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

Listing placement

Prettier plugins267 listings · 14 pages · page 5, #4 (overall #84)
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 @ynode/sqrl-lint
Date (UTC)Weekly downloadsChange vs. previous
118+1
117-6
123+35
88+28
600
60+1
59-32
91-2
93+5
88+1
87-7
94+8
86+3
83—

Similar npm Prettier plugins plugins

All 20 @ynode/sqrl-lint 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/@ynode/sqrl-lint. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.