Skip to content
JS
Comparison

lightningcss vs ohm-js

Parsers and serialisersPackage data 25 Sept 2026
lightningcssv1.33.0, 20 Jul 2026

A CSS parser, transformer, and minifier written in Rust

$ npm install lightningcss
ohm-jsv17.5.0, 14 Feb 2026

An object-oriented language for parsing and pattern matching

$ npm install ohm-js
Metriclightningcssohm-jsDifference
Weekly downloads113,864,306630,509lightningcss 180.6x higher
12-month download growth+1051%+179%lightningcss +872 pts
Gzip size---
Minified size---
Dependencies10lightningcss 1 more
Unpacked size502 kB2.0 MBlightningcss 4.2x smaller
Latest release1.33.0, 20 Jul 202617.5.0, 14 Feb 2026lightningcss 5 months more recent
Releases, last 12 months53lightningcss 2 more
First published22 Aug 202216 Jul 2015ohm-js 7.1 years earlier
GitHub stars7,6885,550lightningcss +39%
Open issues33840lightningcss 298 more
Open pull requests978lightningcss 89 more
Contributors99--
Commits, last 52 weeks64252ohm-js 3.9x higher
TypeScript typesBundledBundledSame
Module formatESM + CommonJSESM + CommonJSSame
Runtimes---
LicenseMPL-2.0MITDiffers

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

lightningcss113.9m latest weekohm-js636.1k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

lightningcss

Major versions
  1. 0.0.022 Aug 2022
  2. 1.14.08 Sept 2022
Last 5 releases
  1. 1.33.020 Jul 2026
  2. 1.32.09 Mar 2026
  3. 1.31.121 Jan 2026
  4. 1.31.020 Jan 2026
  5. 1.30.229 Sept 2025
43 releases in total, 5 in the last 12 months

ohm-js

Major versions
  1. 0.8.116 Jul 2015
  2. 15.0.022 Aug 2020
  3. 16.0.01 Oct 2021
  4. 17.0.03 Mar 2023
Last 5 releases
  1. 17.5.014 Feb 2026
  2. 17.4.012 Feb 2026
  3. 17.3.020 Dec 2025
  4. 17.2.128 Jul 2025
  5. 17.2.028 Jul 2025
49 releases in total, 3 in the last 12 months
lightningcss

-

ohm-js

-

lightningcss

-

ohm-js

-

  • Need no runtime dependenciesohm-js (lightningcss has 1, ohm-js has 0)
  • Module formatBoth ESM + CommonJS
  • Need TypeScript types in the package itselfBoth
  • Node.js version requirementlightningcss: >= 12.0.0; ohm-js: >=0.12.1 (engines field in package.json)
  • Need the more recent releaselightningcss (1.33.0 on 20 Jul 2026 vs 17.5.0 on 14 Feb 2026)
  • Higher weekly npm downloadslightningcss (113.9m vs 630.5k)
  • Licenselightningcss: MPL-2.0; ohm-js: MIT

Each line is generated from the data above.

ohm-js: ohm-js npm registry, ohm-js npm downloads, ohm-js GitHub. Data fetched 25 Sept 2026.

Indexability: Indexed.