Skip to content
PluginStats

lrlqip weekly downloads statistics

By tremby · npm · Tailwind plugins

Encoder and decoder stylesheets for Lean Rada's CSS-only LQIP scheme

View on npm Fresh · Dec 6, 2026

lrlqip has 799 recorded weekly downloads on npm, ranking #2139 of 3,247 tracked listings.

Weekly downloads
799
Official API · Dec 5, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#2139
Among tracked npm listings

About lrlqip

lrlqip

Encoder and decoder for Lean Rada's CSS-only LQIP scheme.

The encoder, a Rust command-line tool bundled here as a binary, turns an image into one integer at build time. Put it in a --lqip custom property, and the decoder stylesheet renders a blurry placeholder until the image loads, with no Javascript in the browser.

<img src="photo.jpg" loading="lazy" style="--lqip:-92437" width="300" height="225">

Encoder

From a shell

npx lrlqip photo.jpg prints the integer for one image. Given several images or directories, it prints results by path (--format) or keeps them in a datafile (-d), which lets later runs skip unchanged images:

npx lrlqip -d lqip.json --strip 1 public/img

See the options in the encoder's readme, or --help for the details.

Binaries are bundled for linux-x64, linux-arm64, darwin-x64, darwin-arm64, and win32-x64 (which Windows on ARM runs under emulation). Elsewhere, build the Rust crate and set LRLQIP_BINARY to its path.

From Javascript

lrlqip/encoder wraps the binary for Node.

import { encode, encodeMany } from "lrlqip/encoder";

// The integer, or null if the image has transparent pixels
const lqip = await encode("public/img/photo.jpg");

// Integers by key; takes the strip, prefix, jobs, and background options
const lqips = await encodeMany(["public/img"], { strip: 1 });
// { "img/photo.jpg": -92437, "img/other.png": 1234, … }

Both reject with the binary's message if an image can't be read or decoded. Each encode starts a process, so for many images use encodeMany.

To use a datafile from Node, run the binary (at binaryPath()) to update it, then read it:

import { execFileSync } from "node:child_process";
import { readFileSync } from "node:fs";
import { binaryPath } from "lrlqip/encoder";

execFileSync(binaryPath(), ["--strip", "1", "-d", "lqip.json", "public/img"]);
const lqip = JSON.parse(readFileSync("lqip.json", "utf8"))["img/photo.jpg"].lqip;

Decoder

The decoder is one CSS rule, needing modern CSS (mod(), round(), relative colours, oklab(), and background-blend-mode). By default it applies to elements with --lqip in their inline style that are loading=lazy, preload=none, or .force-lqip. The forms other than plain CSS let you choose your own selector.

Plain CSS

With a bundler, import lrlqip/decoder/decoder.css from JS or CSS. Otherwise, copy decoder/decoder.css from the package.

Sass

Needs Dart Sass 1.69 or later.

@use "lrlqip/decoder/sass" as lqip;

@include lqip.rule;                    // the default selector
@include lqip.rule(".thumbnail");      // your selector
.card img { @include lqip.decoder; }   // inside a rule of your own

The default selector can also be set with @use "lrlqip/decoder/sass" as lqip with ($selector: ".lqip");.

Tailwind CSS

Needs Tailwind 4.

@plugin "lrlqip/decoder/tailwind";                         /* the default selector */
@plugin "lrlqip/decoder/tailwind" { selector: ".lqip"; }   /* your selector */
Javascript

For CSS-in-JS and other tooling:

import { selector, declarations } from "lrlqip/decoder";

Import paths

ImportWhat it is
lrlqip/encoderencode, encodeMany, and binaryPath (Node only)
lrlqip/decoderselector and declarations as data
lrlqip/decoder/decoder.cssthe plain stylesheet
lrlqip/decoder/sass (or …/sass.scss)Sass mixins
lrlqip/decoder/tailwindthe Tailwind 4 plugin

There is no root export, so using one half never loads the other. The JS modules work as ES modules and CommonJS, with Typescript types.

Description from the npm listing.

  • lqip
  • placeholder
  • blur
  • image
  • css
  • sass
  • tailwind
  • tailwindcss-plugin

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

lrlqip weekly downloads on npm, last 90 days: 799 weekly downloads as of Dec 5, 2026.lrlqipWeekly downloads on npm · Last 90 days799downloads / week0200400600800Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
lrlqip weekly downloads on npm, last 90 days: 799 weekly downloads as of Dec 5, 2026.

7/30/90-day growth

lrlqip weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.lrlqipWeekly downloads growth on npm799downloads / week now7-day growth+799 weekly downloadsInsufficient history30-day growth+799 weekly downloadsInsufficient history90-day growth+799 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
lrlqip weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

lrlqip npm ranking history: currently #2139 (by weekly downloads).lrlqipnpm ranking · by weekly downloads · Last 90 days#2139current rank#1600#1700#1800#1900#2000#2100#2200Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankNov 30, 2026 – Dec 6, 2026 · 7 observations · Updated Dec 5, 2026pluginstats.com
lrlqip npm ranking history: currently #2139 (by weekly downloads).

Listing placement

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

Listing placement

Tailwind plugins292 listings · 15 pages · page 2, #17 (overall #37)
Tailwind 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 lrlqip
Date (UTC)Weekly downloadsChange vs. previous
799+15
784+10
774+19
755+46
709+19
690+198
492+492
00
00
00
00
00
00
0—

Similar npm Tailwind plugins plugins

All 20 lrlqip 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/lrlqip. First seen Nov 30, 2026; last successful collection Dec 6, 2026. See the methodology.