# stylus/nib

Stylus mixins, utilities, components, and gradient image generation

Repository: https://github.com/stylus/nib
Canonical: https://ross.abutalabs.com/products/nib
Homepage: http://stylus.github.io/nib
Language: Stylus
License: MIT
License Family: permissive
Last push: 2022-05-17T03:22:16+00:00

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

## Adoption (not part of the score)
Stars 1884, forks 237 (observed 2026-08-28T04:05:48.872159+00:00)

## What it is
Nib is a library of mixins, utilities, and components for the Stylus CSS preprocessor, providing cross-browser CSS3 support including vendor prefixing and gradient generation. It integrates with Node.js via the Stylus JavaScript API and can generate gradient PNG fallbacks using node-canvas.

## Use cases
- generate cross-browser css3 gradients in stylus
- add vendor prefixes automatically to css
- import css reset and normalize into stylus project
- use stylus mixins with express or connect middleware
- create png fallback images for css gradients

## When to choose
- you use Stylus as your CSS preprocessor and want robust CSS3 mixins
- you need automatic vendor prefixing and gradient expansion in Stylus
- you want a CSS normalize/reset bundled with your preprocessor

## When to avoid
- you use Sass, Less, or PostCSS instead of Stylus
- you target only modern browsers and rely on autoprefixer tooling
- you need an actively developed library with frequent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: css-framework, ui-components, image-processing
- domain: frontend, web-development, web-design
- platform: -
- tags: stylus, css-preprocessor, mixins, vendor-prefixing, css3, gradients, nodejs, web-server

## Member repositories
- stylus/nib (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:48.872159+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:13:39.832529+00:00, confidence not recorded.
  - readme: https://github.com/stylus/nib (fetched 2026-08-28T04:05:48.872159+00:00, sha 4496eedb5266)
  - homepage: http://stylus.github.io/nib (fetched 2026-08-29T10:52:43.965375+00:00, sha 218c4e458c5d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
