csstools/precss
Use Sass-like markup in your CSS observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4076
- days_rel: n/a
- days_push: 1699
- n_releases_24m: 0
Adoption not part of the score
1590 stars · 76 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
PreCSS is a PostCSS plugin that lets you write Sass-like markup—variables, conditionals, iterators, nesting, and extends—directly in CSS files. It bundles several PostCSS plugins to transform this enhanced CSS into standard CSS during your build process.
Use cases
- use sass variables in plain css files
- nest css selectors without switching to sass
- replace node-sass with a postcss-based workflow
- add conditional logic and loops to css
- compile scss-like syntax into standard css
- get sass features while staying on postcss build pipeline
When to choose
- You want Sass-like features such as variables, nesting, and conditionals without adopting a full Sass toolchain
- Your build already uses PostCSS with Gulp, Grunt, or a bundler and you want preprocessing as a drop-in plugin
- You want to combine preprocessing with emerging native CSS features via the included postcss-preset-env
When to avoid
- You need full Sass capabilities like mixins with arguments, @use/@import modules, or built-in Sass functions
- You require actively maintained software—the latest release dates to January 2022
- Your workflow does not run on Node.js or support PostCSS tooling
Facets
plugin · maturity maintenance
compiler build-tool web-development frontend web-design css sass postcss-plugin css-preprocessor css-nesting css-variables transpiler nodejs
1 source
- readme: https://github.com/csstools/precss · fetched 2026-08-28 · d9e3f2ec49ae
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| csstools/precss | main | 10 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem