{"id":28265114,"url":"https://github.com/jiaronggu/css-type-loader","last_synced_at":"2025-07-17T13:33:40.980Z","repository":{"id":101839410,"uuid":"174347915","full_name":"JiarongGu/css-type-loader","owner":"JiarongGu","description":"type loader for css-module and typescript","archived":false,"fork":false,"pushed_at":"2019-08-01T02:36:54.000Z","size":26,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-26T11:11:28.617Z","etag":null,"topics":["css-modules","loader","typescript","webpack"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JiarongGu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-07T13:21:33.000Z","updated_at":"2020-04-03T06:36:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"74bdf52c-1332-471b-bec3-76a44dd97bff","html_url":"https://github.com/JiarongGu/css-type-loader","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"57f5b48f344f4d19ab3a5abc32e94e1acdfe461a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JiarongGu/css-type-loader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JiarongGu%2Fcss-type-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JiarongGu%2Fcss-type-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JiarongGu%2Fcss-type-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JiarongGu%2Fcss-type-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JiarongGu","download_url":"https://codeload.github.com/JiarongGu/css-type-loader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JiarongGu%2Fcss-type-loader/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265611330,"owners_count":23797862,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css-modules","loader","typescript","webpack"],"created_at":"2025-05-20T10:13:17.026Z","updated_at":"2025-07-17T13:33:40.968Z","avatar_url":"https://github.com/JiarongGu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# css-type-loader\n[![npm version](https://badge.fury.io/js/css-type-loader.svg)](https://www.npmjs.com/package/css-type-loader)\n\ncss type loader for genrate .d.ts file for css module.  \n\n## Installation\n```npm install css-type-loader```\n\n## How to use\nAdd css-type-loader directly after css-loader in your webpack config.\n```javascript\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: /\\.css$/,\n        use: [\n          'css-type-loader',\n          {\n            loader: 'css-loader',\n            options: {\n              modules: true,\n              camelCase: true // this is required for convert dashs to camelCase\n            }\n          }\n        ]\n      }\n    ]\n  }\n};\n```\n\n## Propose of this repo\n1. To generate types thats vaild syntax in Typescirpt\n2. To sync with the newest css-loader\n\n\n## Thanks for\n- [typings-for-css-modules-loader](https://github.com/Jimdo/typings-for-css-modules-loader)\n- [css-modules-typescript-loader](https://github.com/seek-oss/css-modules-typescript-loader)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiaronggu%2Fcss-type-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjiaronggu%2Fcss-type-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiaronggu%2Fcss-type-loader/lists"}