{"id":20069869,"url":"https://github.com/garthenweb/parcel-plugin-css-modules-type-generator","last_synced_at":"2025-05-05T19:32:55.769Z","repository":{"id":34240226,"uuid":"172796631","full_name":"garthenweb/parcel-plugin-css-modules-type-generator","owner":"garthenweb","description":"Generates .d.ts files for CSS modules with Parcel","archived":false,"fork":false,"pushed_at":"2023-01-07T12:58:51.000Z","size":1240,"stargazers_count":12,"open_issues_count":26,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T12:46:14.586Z","etag":null,"topics":["css","css-modules","modules","parcel","types","typescript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/garthenweb.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}},"created_at":"2019-02-26T21:53:20.000Z","updated_at":"2020-12-02T17:32:23.000Z","dependencies_parsed_at":"2023-01-15T05:31:47.383Z","dependency_job_id":null,"html_url":"https://github.com/garthenweb/parcel-plugin-css-modules-type-generator","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garthenweb%2Fparcel-plugin-css-modules-type-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garthenweb%2Fparcel-plugin-css-modules-type-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garthenweb%2Fparcel-plugin-css-modules-type-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garthenweb%2Fparcel-plugin-css-modules-type-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garthenweb","download_url":"https://codeload.github.com/garthenweb/parcel-plugin-css-modules-type-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252563006,"owners_count":21768384,"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","css-modules","modules","parcel","types","typescript"],"created_at":"2024-11-13T14:16:25.253Z","updated_at":"2025-05-05T19:32:54.184Z","avatar_url":"https://github.com/garthenweb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Parcel Plugin CSS Modules Type Generator\n\nGenerates .d.ts files for your CSS modules with [Parcel](https://parceljs.org).\n\n![](https://img.shields.io/npm/l/parcel-plugin-css-modules-type-generator.svg)\n[![](https://img.shields.io/npm/v/parcel-plugin-css-modules-type-generator.svg)](https://www.npmjs.com/package/parcel-plugin-css-modules-type-generator)\n![](https://img.shields.io/david/garthenweb/parcel-plugin-css-modules-type-generator.svg)\n[![Build Status](https://travis-ci.org/garthenweb/parcel-plugin-css-modules-type-generator.svg?branch=master)](https://travis-ci.org/garthenweb/parcel-plugin-css-modules-type-generator)\n\nThis plugin is inspired by [typed-css-modules](https://www.npmjs.com/package/typed-css-modules), it will generate `.d.ts` files for your CSS modules so you have proper typing for your styles.\n\nAs Parcel already handles watching of files and generates CSS modules this plugin is super easy to use and works out of the box, you don't need to run tasks in parallel while working on your code to get proper types.\n\nFurther it supports all kind of extensions that compile to CSS (only those that are supported by Parcel) out of the 📦, e.g. scss, less and stylus.\n\n## Installation\n\nJust add the plugin to your `package.json`:\n\n```\nnpm install --save-dev parcel-plugin-css-modules-type-generator\n```\n\nParcel will handle the rest for you! 🚀\n\nPlease note that you need to activate CSS modules for Parcel by adding a `.postcssrc` file to the main directory with the following content:\n\n```json\n{\n  \"modules\": true\n}\n```\n\n## License\n\nLicensed under the [MIT License](https://opensource.org/licenses/mit-license.php).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarthenweb%2Fparcel-plugin-css-modules-type-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarthenweb%2Fparcel-plugin-css-modules-type-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarthenweb%2Fparcel-plugin-css-modules-type-generator/lists"}