A tool for generating `*.d.ts` files for `*.module.css`.
npm install @css-modules-kit/codegen@css-modules-kit/codegenA tool for generating .d.ts files for .module.css.
``bash`
npm i -D @css-modules-kit/codegen
From the command line, run the cmk command.
`bash
$ # Generate .d.ts for .module.css
$ npx cmk
$ # Show help
$ npx cmk --help
Usage: cmk [options]
Options:
--help, -h Show help information
--version, -v Show version number
--project, -p The path to its configuration file, or to a folder with a 'tsconfig.json'.
--pretty Enable color and formatting in output to make errors easier to read.
--clean Remove the output directory before generating files. [default: false]
--watch, -w Watch for changes and regenerate files. [default: false]
--preserveWatchOutput Disable wiping the console in watch mode. [default: false]
``