{"id":13725578,"url":"https://github.com/styled-components/babel-plugin-polished","last_synced_at":"2025-04-06T21:15:16.181Z","repository":{"id":52003803,"uuid":"86504539","full_name":"styled-components/babel-plugin-polished","owner":"styled-components","description":"Compile polished helper functions at build time","archived":false,"fork":false,"pushed_at":"2021-05-08T10:06:36.000Z","size":35,"stargazers_count":138,"open_issues_count":8,"forks_count":13,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-12T21:02:57.958Z","etag":null,"topics":["babel","babel-plugin","polished","styled-components"],"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/styled-components.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":"2017-03-28T20:32:01.000Z","updated_at":"2024-02-13T14:56:24.000Z","dependencies_parsed_at":"2022-09-01T12:41:45.581Z","dependency_job_id":null,"html_url":"https://github.com/styled-components/babel-plugin-polished","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/styled-components%2Fbabel-plugin-polished","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/styled-components%2Fbabel-plugin-polished/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/styled-components%2Fbabel-plugin-polished/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/styled-components%2Fbabel-plugin-polished/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/styled-components","download_url":"https://codeload.github.com/styled-components/babel-plugin-polished/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247550690,"owners_count":20956987,"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":["babel","babel-plugin","polished","styled-components"],"created_at":"2024-08-03T01:02:27.973Z","updated_at":"2025-04-06T21:15:16.155Z","avatar_url":"https://github.com/styled-components.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# babel-plugin-polished\n\nCompile away [polished](https://polished.js.org/) helpers.\n\n## Example\n\n**In**\n\n```js\nimport * as polished from 'polished';\n\nlet value = polished.clearFix();\n```\n\n**Out**\n\n```js\nlet value = {\n  '\u0026::after': {\n    clear: 'both',\n    content: '',\n    display: 'table'\n  }\n};\n```\n\n## Installation\n\n```sh\n$ npm install babel-plugin-polished\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n  \"plugins\": [\"polished\"]\n}\n```\n\n### Via CLI\n\n```sh\n$ babel --plugins polished script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"babel-core\").transform(\"code\", {\n  plugins: [\"polished\"]\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstyled-components%2Fbabel-plugin-polished","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstyled-components%2Fbabel-plugin-polished","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstyled-components%2Fbabel-plugin-polished/lists"}