{"library":"jest-css-modules-transform","type":"library","category":null,"description":"A Jest preprocessor that transforms CSS, SCSS, SASS, Less, and Stylus files into JavaScript objects mimicking Webpack's css-loader module output. Version 4.4.2 is current stable; released occasionally with bug fixes and minor features. Unlike simple identity mock objects (e.g., `{}`), this generates correct class name mappings (as-is, camelCase, dashes), supports PostCSS with custom plugins, and allows prepending variables or mixins. It provides configuration via `jest-css-modules-transform-config.js` for per-preprocessor options, making it ideal for visual regression testing or component testing where real class names matter.","language":"javascript","status":"active","version":"4.4.2","tags":["javascript","jest","webpack","css-import","transform","preprocessor","class","classname","css"],"last_verified":"Wed May 27","install":[{"cmd":"npm install jest-css-modules-transform","imports":["module.exports = require('jest-css-modules-transform'); // or in Jest config as string","In jest-css-modules-transform-config.js: module.exports = { ... };"]},{"cmd":"yarn add jest-css-modules-transform","imports":[]},{"cmd":"pnpm add jest-css-modules-transform","imports":[]}],"homepage":null,"github":"https://github.com/Connormiha/jest-css-modules-transform","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/jest-css-modules-transform","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/jest-css-modules-transform/compatibility"}}