# thysultan/stylis

light – weight css preprocessor

Repository: https://github.com/thysultan/stylis
Canonical: https://ross.abutalabs.com/products/stylis
Homepage: https://stylis.js.org
Language: JavaScript
License: MIT
License Family: permissive
Topics: css, preprocessor
Last push: 2026-04-19T14:27:06+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 78, release rhythm 35, longevity 100
- inputs: {"age_days": 3566, "days_push": 136, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1772, forks 88 (observed 2026-08-28T04:05:34.187623+00:00)

## What it is
Stylis is a lightweight CSS preprocessor library written in JavaScript that supports nesting, selector namespacing, vendor prefixing, and minification. It exposes a compile/serialize/middleware pipeline that produces an abstract syntax structure, making it embeddable in CSS-in-JS tooling.

## Use cases
- compile css with nesting and vendor prefixes in the browser
- lightweight css preprocessor for a css-in-js library
- parse css into an abstract syntax tree in javascript
- minify and namespace css selectors at runtime
- add custom css transform middleware

## When to choose
- you need a tiny, tree-shakeable css preprocessing engine embedded in your own tooling
- you want runtime css compilation with vendor prefixing and nesting
- you need programmatic access to a css AST

## When to avoid
- you want a full-featured build-time preprocessor like Sass or Less with variables, mixins, and imports
- you need PostCSS plugin ecosystem compatibility

## Facets
- artifact type: library
- maturity: active
- function: css-framework, parser, build-tool
- domain: web-development, frontend
- platform: browser
- tags: css-preprocessor, vendor-prefixing, css-in-js, minification, middleware, nodejs, web-server

## Member repositories
- thysultan/stylis (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:34.187623+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:25:58.262467+00:00, confidence not recorded.
  - readme: https://github.com/thysultan/stylis (fetched 2026-08-28T04:05:34.187623+00:00, sha 86f90ee91327)
  - homepage: https://stylis.js.org (fetched 2026-08-29T11:04:25.780689+00:00, sha 9b96a380c4b7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
