{"id":19745405,"url":"https://github.com/btd/postcss-plugin-composition","last_synced_at":"2025-10-25T18:08:38.937Z","repository":{"id":57328271,"uuid":"71353890","full_name":"btd/postcss-plugin-composition","owner":"btd","description":"PostCSS plugin which holds other PostCSS plugins","archived":false,"fork":false,"pushed_at":"2016-10-19T12:20:39.000Z","size":2,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T07:13:29.072Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/btd.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":"2016-10-19T12:17:40.000Z","updated_at":"2016-10-19T12:18:26.000Z","dependencies_parsed_at":"2022-08-23T14:31:10.857Z","dependency_job_id":null,"html_url":"https://github.com/btd/postcss-plugin-composition","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btd%2Fpostcss-plugin-composition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btd%2Fpostcss-plugin-composition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btd%2Fpostcss-plugin-composition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btd%2Fpostcss-plugin-composition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/btd","download_url":"https://codeload.github.com/btd/postcss-plugin-composition/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241077140,"owners_count":19905725,"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":[],"created_at":"2024-11-12T02:08:12.880Z","updated_at":"2025-10-25T18:08:33.907Z","avatar_url":"https://github.com/btd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PostCSS Plugin Composition [![Build Status][ci-img]][ci]\n\n[PostCSS] plugin which holds other PostCSS plugins.\n\n[PostCSS]: https://github.com/postcss/postcss\n\n## Usage\n\n```js\n\nconst composition = require('postcss-plugin-composition');\npostcss([\n  composition([\n    require('postcss-simple-vars')\n    require('postcss-modules')\n  ]),\n\n  require('postcss-autoreset')\n])\n```\n\nThis module has very specific use-case. If you apply all plugins as is with `postcss-modules`.\nYou will see at the end your css repeated, because `postcss-modules` executes all modules\nfor you.\n\nThat is why need to create composition of plugins that should be applied to each file.\nAnd to the end add plugins which whill be applied to result.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbtd%2Fpostcss-plugin-composition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbtd%2Fpostcss-plugin-composition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbtd%2Fpostcss-plugin-composition/lists"}