# mrmckeb/typescript-plugin-css-modules

A TypeScript language service plugin providing support for CSS Modules.

Repository: https://github.com/mrmckeb/typescript-plugin-css-modules
Canonical: https://ross.abutalabs.com/products/typescript-plugin-css-modules
Language: TypeScript
License: MIT
License Family: permissive
Topics: typescript, plugin, css, modules, postcss, sass
Last push: 2026-08-06T22:34:12+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 8, longevity 100
- inputs: {"age_days": 2852, "days_push": 27, "days_rel": 406, "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 1395, forks 81 (observed 2026-08-28T04:04:36.552277+00:00)

## What it is
A TypeScript language service plugin that provides IDE support (autocomplete, type checking, go-to-definition) for CSS Modules imports. It works in editors like VS Code by generating type information for .css, .scss, .sass, .less, and .stylus module files.

## Use cases
- get autocomplete for css module class names in typescript
- type-check imports of scss modules in vscode
- avoid 'cannot find module' errors when importing css modules
- go to definition for class names in sass files
- support postcss and less modules in typescript ide

## When to choose
- you write CSS Modules with TypeScript and want editor IntelliSense
- you use VS Code or another editor supporting TypeScript language service plugins
- your project uses sass, less, or postcss with CSS Modules

## When to avoid
- you need compile-time errors - TypeScript does not run language service plugins during compilation
- you need runtime CSS module handling - use webpack css-loader or jest transforms instead

## Facets
- artifact type: plugin
- maturity: stable
- function: plugin-system, type-system, developer-tools
- domain: frontend, web-development, developer-tools
- platform: editor-plugin, cross-platform
- tags: css-modules, typescript-language-service, intellisense, postcss, sass, less, vscode, nodejs

## Member repositories
- mrmckeb/typescript-plugin-css-modules (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:36.552277+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-30T04:39:23.887025+00:00, confidence not recorded.
  - readme: https://github.com/mrmckeb/typescript-plugin-css-modules (fetched 2026-08-28T04:04:36.552277+00:00, sha ae94fb8122f5)
  - registry_npm: https://registry.npmjs.org/typescript-plugin-css-modules (fetched 2026-08-29T11:54:20.013954+00:00, sha 7ee2f54ae7aa)
- Data as of 2026-08-30T08:39:29.467469+00:00.
