Back to Explore

frenic/csstype

GitHub
3 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

  • The repo appears actively maintained, with an upstream push on 2026-04-10 and multiple npm/GitHub version updates published in November 2025.
  • Apparent update cadence is uneven, there is a tight burst of updates in mid-Nov 2025 (v3.2.0 to v3.2.3 across about 4 days), but the published update history provided shows a long gap from 2023-12-07 to 2025-11-13, with the next evidenced activity only later via the 2026-04 upstream push.

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.

  • v3.2.0

    Release v3.2.0 has no publisher-provided release notes. The diff indicates substantial updates to the TypeScript and Flow type definitions (notably index.d.ts) plus additional test coverage for newer TypeScript versions.

  • v3.1.3

    Release v3.1.3 was published, but no release notes were provided by the publisher. As a result, there is no documented information about changes, potential breaking behavior, bug fixes, or security updates in this release.

  • v3.1.2

    Release v3.1.2 was published on 2023-04-01, but the publisher did not include any release notes or change log details. As a result, there is no actionable information available here about new features, bug fixes, breaking changes, or security updates.

  • v2.6.21

    Release v2.6.21 was published on 2022-09-14, but no release notes were provided by the publisher. As a result, there is no documented information here about new features, bug fixes, breaking changes, security, or migrations.

  • v3.1.1

    Release v3.1.1 was published on 2022-09-13, but no release notes were provided by the publisher. Without documented changes, it is not possible to verify whether this version includes breaking changes, bug fixes, security fixes, or dependency updates.

  • v3.1.0

    Release v3.1.0 was published on 2022-05-16, but the publisher provided no release notes content. Without documented changes, it is not possible to reliably identify new features, breaking changes, bug fixes, or other developer-impacting modifications from the release notes alone.

  • v3.0.11

    Release v3.0.11 was published, but the publisher did not provide any release notes. As a result, there is no stated information about new features, bug fixes, breaking changes, or security updates in this release.

  • 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