{"library":"dts-css-modules-loader","type":"library","category":null,"description":"Webpack loader that generates TypeScript definition files (.d.ts) for CSS Modules, acting as a replacement for the abandoned typings-for-css-modules-loader. Current stable version is 2.0.2. It integrates with css-loader (v2-v7) and requires webpack 5+ (breaking change from v1). Key differentiators: lightweight, no style content modification, supports named exports and custom typings generation via callback. Release cadence is low; last update was 2023.","language":"javascript","status":"active","version":"2.0.2","tags":["javascript","css-modules","typescript","typings","webpack","loader"],"last_verified":"Wed May 27","install":[{"cmd":"npm install dts-css-modules-loader","imports":["import styles from './button.scss';","import { button, buttonActive } from './button.scss';","import * as styles from './button.scss';"]},{"cmd":"yarn add dts-css-modules-loader","imports":[]},{"cmd":"pnpm add dts-css-modules-loader","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/dts-css-modules-loader","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/dts-css-modules-loader/compatibility"}}