Back to Explore

frenic/csstype

GitHub
2 watchersOpen source

Last release:

CSSType provides strict TypeScript and Flow type definitions for CSS properties and values, generated from MDN data. It helps with autocompletion and type checking when writing CSS-in-JavaScript or otherwise working with CSS property objects.

Project status

  • Maintenance status: The repository appears to be in active development, with an upstream push on 2026-04-10. However, the provided published updates in the list are latest at v3.2.3 (2025-11-17), so the most recent tag/release activity in the evidence is several months old.
  • Update cadence (as evidenced by tags): v3.2.1 to v3.2.3 were published within about 2 days (2025-11-15 to 2025-11-17), but there is a long quiet gap afterward in the provided history (no newer tagged updates shown than Nov 2025).

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v3.2.3

    Release v3.2.3 contains no publisher-provided release notes. The code diff shows a generator refactor (removing many async/await patterns, changing internal function signatures), plus logic changes in the CSS syntax typer that adds support for comma-separated components, which likely affects the generated type unions.

    SecurityFeatures
  • v3.2.2

    Release v3.2.2 contains primarily type definition changes in both TypeScript (index.d.ts) and Flow (index.js.flow) related to the CSS background property, plus a small adjustment to the syntax type generator. No release notes were provided, so the functional impact is determined entirely from the code diff.

  • v3.2.1

    Release v3.2.1 was published on 2025-11-15, but no release notes were provided by the publisher. As a result, there is no documented information about new features, bug fixes, breaking changes, or security updates.

  • v2.6.0

    v2.6.0 is documented as adding support for HTML and SVG attributes (for example, generating attribute tokens like `[href]`). The code diff shows a broader internal refactor around MDN compatibility data handling and how compatibility summaries and “@see” URLs are generated, along with new exported declarations for HtmlAttributes and SvgAttributes.

    BreakingFeatures
  • v2.5.0

    v2.5.0 introduces property summaries into the generated JSDoc-style comment blocks, and specifically addresses the `all` property by adding documentation for it. The code changes go beyond the release notes, including substantial refactors to compatibility data handling and multiple updates to the published TypeScript and Flow type definitions for vendor CSS properties.

    Features
  • v2.4.0

    v2.4.0 adds richer JSDoc generation for CSS property declarations, including an initial value section and a browser compatibility table. The implementation introduces a new comment composer and updates the d.ts generation pipeline to embed these blocks into the generated TypeScript definitions.

    Features
  • v2.3.1

    v2.3.1 updates the generated csstype typings using newer MDN datasets and improves how deprecated or obsolete properties are detected and categorized. The release notes mention duplicated identifier removal, improved deprecation detection, and MDN data bumps, but the actual diff also shows several concrete typing surface changes for specific CSS properties and internal parsing/type generation behavior.

  • v2.3.0

    v2.3.0 focuses on adding vendor-prefixed support for CSS pseudos and at-rule descriptors, and it includes manual patching workarounds pending fixes in MDN data. The release notes only mention “bumping MDN data” as the bug fix, but the code diff shows broader typing and parsing changes that can affect TypeScript consumers.

    Features
  • v2.2.0

    v2.2.0 extends csstype’s generated property and keyword types using MDN browser compatibility data, adding prefixed and alternative values. It also introduces obsolete property typing via the new ObsoleteProperties interface and fixes a few keyword parsing details (notably around CSS-wide keywords and text-shadow multiplier behavior).

    Features
  • v2.1.0

    v2.1.0 introduces new support related to SVG properties. The release notes do not mention any breaking changes, fixes, or dependency updates, so upgrade risk appears low based on the provided information.

    Features