{"library":"babel-plugin-styled-components","type":"library","category":null,"description":"The `babel-plugin-styled-components` package enhances the developer experience when working with `styled-components`. It provides critical features such as consistent hashing of component class names, which is essential for reliable server-side rendering (SSR), as well as automatic annotation of styled components for improved debugging. The plugin also offers various minification strategies for the generated CSS and the tagged template literals. The current stable version is 2.1.4, with releases occurring as needed for bug fixes, dependency updates, and minor feature enhancements, as seen in the frequent patch and minor updates in its recent history. Its primary differentiators are its tight integration with `styled-components` for SSR, advanced debugging capabilities (e.g., `displayName`), and performance optimizations through minification, making it a highly recommended companion for any `styled-components` project.","language":"javascript","status":"active","version":"2.1.4","tags":["javascript","styled-components","css-in-js","babel-plugin","server-side rendering","ssr","displayName"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-styled-components","imports":["// .babelrc or babel.config.js\n{\n  \"plugins\": [\"babel-plugin-styled-components\"]\n}","// .babelrc or babel.config.js\n{\n  \"plugins\": [\n    [\"babel-plugin-styled-components\", {\n      \"ssr\": true,\n      \"displayName\": true,\n      \"fileName\": false,\n      \"pure\": true\n    }]\n  ]\n}","// .babelrc or babel.config.js\n{\n  \"plugins\": [\n    \"babel-plugin-styled-components\",\n    \"macros\"\n  ]\n}"]},{"cmd":"yarn add babel-plugin-styled-components","imports":[]},{"cmd":"pnpm add babel-plugin-styled-components","imports":[]}],"homepage":"https://styled-components.com","github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-styled-components","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-styled-components/compatibility"}}