{"library":"babel-plugin-twin","type":"library","category":null,"description":"Babel plugin to automatically add the tw prop from twin.macro and the css prop from CSS-in-JS libraries without explicit imports. Current stable version is 1.1.0. Updated irregularly as needed. Key differentiator: eliminates the need for `import 'twin.macro'` in every file, streamlining usage with twin.macro for Tailwind CSS in React.","language":"javascript","status":"active","version":"1.1.0","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-twin","imports":["// In babel.config.js\nmodule.exports = {\n  plugins: [\n    \"babel-plugin-twin\",\n    \"babel-plugin-macros\",\n  ],\n};","// In babel.config.js with exclude\nmodule.exports = {\n  plugins: [\n    [\"babel-plugin-twin\", { exclude: [/node_modules/] }],\n    \"babel-plugin-macros\",\n  ],\n};","// In babel.config.js with debug\nmodule.exports = {\n  plugins: [\n    [\"babel-plugin-twin\", { debug: true }],\n    \"babel-plugin-macros\",\n  ],\n};"]},{"cmd":"yarn add babel-plugin-twin","imports":[]},{"cmd":"pnpm add babel-plugin-twin","imports":[]}],"homepage":null,"github":"https://github.com/ben-rogerson/babel-plugin-twin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-twin","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-twin/compatibility"}}