{"id":21448963,"url":"https://github.com/stackcss/postcss-prefix","last_synced_at":"2025-07-14T20:31:29.334Z","repository":{"id":57143270,"uuid":"45002060","full_name":"stackcss/postcss-prefix","owner":"stackcss","description":"Prefix CSS selectors","archived":false,"fork":false,"pushed_at":"2020-09-19T11:13:46.000Z","size":24,"stargazers_count":4,"open_issues_count":1,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-11T22:13:10.888Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stackcss.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2015-10-26T22:43:36.000Z","updated_at":"2020-09-19T11:13:45.000Z","dependencies_parsed_at":"2022-09-03T17:31:34.474Z","dependency_job_id":null,"html_url":"https://github.com/stackcss/postcss-prefix","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/stackcss/postcss-prefix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackcss%2Fpostcss-prefix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackcss%2Fpostcss-prefix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackcss%2Fpostcss-prefix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackcss%2Fpostcss-prefix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackcss","download_url":"https://codeload.github.com/stackcss/postcss-prefix/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackcss%2Fpostcss-prefix/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265344830,"owners_count":23750566,"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-23T03:17:41.393Z","updated_at":"2025-07-14T20:31:29.106Z","avatar_url":"https://github.com/stackcss.png","language":"JavaScript","readme":"# postcss-prefix\nReplace `:host` elements with a prefix of your choosing\n\n## Usage\n```js\nconst prefix = require('postcss-prefix')\nconst postcss = require('postcss')\n\nconst css = `\n  :host { color: blue }\n  .hello { color: black }\n`\n\nconst newCss = postcss([ prefix('#hello-world') ])\n  .process(css)\n  .toString()\n\nconsole.log(newCss)\n// =\u003e #hello-world { color: blue }\n// =\u003e .hello { color: black }\n`\n```\n\n## See Also\n- [sheetify](https://github.com/stackcss/sheetify)\n\n## License\n[MIT](https://tldrlegal.com/license/mit-license)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackcss%2Fpostcss-prefix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackcss%2Fpostcss-prefix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackcss%2Fpostcss-prefix/lists"}