# frenic/csstype

Strict TypeScript and Flow types for style based on MDN data

Repository: https://github.com/frenic/csstype
Canonical: https://ross.abutalabs.com/products/csstype
Language: TypeScript
License: MIT
License Family: permissive
Topics: typescript, types, css, style, flow, mdn
Last push: 2026-04-10T20:20:06+00:00

## Health v2 (maintenance only)
Score: 57/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 76, release rhythm 8, longevity 100
- inputs: {"age_days": 3271, "days_push": 145, "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 1814, forks 75 (observed 2026-08-28T04:05:39.767951+00:00)

## What it is
CSSType provides strict TypeScript and Flow type definitions for CSS properties and values, generated from MDN data. It enables autocompletion and compile-time type checking for inline style objects in JavaScript projects.

## Use cases
- type-check css style objects in typescript
- get autocompletion for css property names and values
- catch typos in inline styles at compile time
- type react style props with strict css types
- support hyphen-cased and camel-cased css property names
- type vendor-prefixed and svg css properties

## When to choose
- you write inline style objects in TypeScript or Flow and want type safety
- you want autocompletion for CSS properties and valid values
- you need typings covering standard, vendor-prefixed, obsolete, and SVG properties

## When to avoid
- you only write CSS in stylesheets or CSS-in-JS with its own typings
- you need runtime CSS parsing or validation rather than static types

## Facets
- artifact type: library
- maturity: stable
- function: type-system, ui-components
- domain: web-development, frontend, developer-tools
- platform: cross-platform
- tags: css, typescript, flow, type-definitions, style-objects, mdn-data, nodejs

## Member repositories
- frenic/csstype (main) score 57

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:39.767951+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:21:05.186269+00:00, confidence not recorded.
  - readme: https://github.com/frenic/csstype (fetched 2026-08-28T04:05:39.767951+00:00, sha af243c6f50aa)
  - registry_npm: https://registry.npmjs.org/csstype (fetched 2026-08-29T10:59:45.781071+00:00, sha eb4f0919ff2e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
