# stylus/stylus

Expressive, robust, feature-rich CSS language built for nodejs

Repository: https://github.com/stylus/stylus
Canonical: https://ross.abutalabs.com/products/stylus
Homepage: https://stylus-lang.com
Language: JavaScript
License: MIT
License Family: permissive
Topics: stylus, css, preprocessor, styl
Last push: 2025-04-24T08:55:36+00:00

## Health v2 (maintenance only)
Score: 31/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 18, release rhythm 8, longevity 100
- inputs: {"age_days": 5727, "days_push": 496, "days_rel": 682, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 11331, forks 1137 (observed 2026-08-28T04:10:46.760852+00:00)

## What it is
Stylus is an expressive, feature-rich CSS preprocessor language built for Node.js, supporting both an indented syntax and regular CSS style. It compiles Stylus source files into CSS via a CLI, a JavaScript API, or build-tool plugins.

## Use cases
- compile stylus files to css
- write css with variables and mixins
- use an indented css syntax without braces and semicolons
- watch and recompile stylesheets on change
- generate vendor-prefixed css with mixins
- integrate a css preprocessor into a nodejs build

## When to choose
- you want a css preprocessor with optional braces, semicolons, and colons for minimal syntax
- you are in a Node.js ecosystem and want a JavaScript API for compiling styles
- you prefer transparent mixins and a flexible, expressive stylesheet language

## When to avoid
- your team standardizes on Sass/SCSS or Less with broader tooling and community support
- you only need modern plain CSS features now available natively (custom properties, nesting)
- you need a post-processing or autoprefixing workflow rather than a preprocessor

## Facets
- artifact type: library
- maturity: stable
- function: css-framework, templating, parser, cli
- domain: web-development, frontend, web-design, developer-tools
- platform: cli, cross-platform
- tags: css-preprocessor, stylus, stylesheet-language, mixins, indented-syntax, nodejs

## Member repositories
- stylus/stylus (main) score 31

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:46.760852+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-29T17:15:56.947677+00:00, confidence not recorded.
  - readme: https://github.com/stylus/stylus (fetched 2026-08-28T04:10:46.760852+00:00, sha f7db36f75b1f)
  - homepage: https://stylus-lang.com (fetched 2026-08-29T08:14:58.164236+00:00, sha bf6c6dbbbcfb)
  - site_page: https://stylus-lang.com/docs (fetched 2026-08-29T08:14:58.173483+00:00, sha 61ba77ce6eb7)
  - site_page: https://stylus-lang.com/docs/js (fetched 2026-08-29T08:14:58.175526+00:00, sha d5b4a086bb4c)
  - site_page: https://stylus-lang.com/docs/executable (fetched 2026-08-29T08:14:58.177660+00:00, sha 592b3c4ab73d)
  - site_page: https://stylus-lang.com/docs/compare (fetched 2026-08-29T08:14:58.179572+00:00, sha 0dd63e984b7f)
  - registry_npm: https://registry.npmjs.org/stylus (fetched 2026-08-29T08:14:58.181246+00:00, sha b2bd2753132c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
