{"name":"tailwind-merge","version":"1.8.0-dev.3ba2b9b20f40a8c295808517d912d475620a93dd","keywords":["tailwindcss","tailwind","css","classes","className","classList","merge","conflict","override"],"author":{"name":"Dany Castillo"},"license":"MIT","_id":"tailwind-merge@1.8.0-dev.3ba2b9b20f40a8c295808517d912d475620a93dd","maintainers":[{"name":"dcas","email":"dcasnpm@gmail.com"}],"homepage":"https://github.com/dcastil/tailwind-merge","bugs":{"url":"https://github.com/dcastil/tailwind-merge/issues"},"dist":{"shasum":"44c1829a6d344e596d56923b30bc36688218b90f","tarball":"http://registry-npm.ywwl.com/tailwind-merge/download/tailwind-merge-1.8.0-dev.3ba2b9b20f40a8c295808517d912d475620a93dd.tgz","fileCount":68,"integrity":"sha512-KhwtUdDciY+7F1LDpVoygnMN8FMTl84w1oKlJoCnuo8CzKoe6GKxuHefUsne+csJAJGCbOtQkHzsqfI4Bb/c9g==","signatures":[{"sig":"MEYCIQDHgqrpFugD5yMqQr7kaZp+lxvCDvXGoJLpa8tYOnBhhgIhAPzX+scj4lvlOaAz8KqvHTIdzjuVqUkZ+8XC1KyVCFpo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":705814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjc6Y4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqbzw//X/m8wnfKohC7m7XgqHI7oKRhj6ezGn4arW2IeACvuStuy0of\r\nmiSY85wHL/dU8/rRN0Ue0sl9fd7xmGUOSklQ+BHN0+Kbt8lxiUDl9IRxxes+\r\nckd0n8cS5awUQt3aJ9wMTGUFC6fbi5SmYA+5fqkrGh38zE+fHFJO1NuuKgcw\r\nx/3AyiFRmHxG6WWpyfvQcVIMDHnHkjvsYNLyUPJH/ycVTTQvxjCjduiYKs5a\r\n9oUOshuwNyouEzlMETExF15fKz0To0guxb+C1jJkOLQ1uH7qcjlzIjeoIqP3\r\n8zqZmY4qA7rP6jYjIlMXTZ2tivsYRPtwdzL/3FAQzVpyk91BXwEAVlAmOxGn\r\nUJC2gFvo9vCI/fapE+WjUaZ0KKCTWIM0qIi0S5pX3c+KPNeOtfLPZlVM2v4T\r\n1M0SrfkvbV57JX6Dbtnl+rgiSUahGln7CNQxR6ymfXw81bMXDeD3MFPtiKK9\r\nUmKYkviOGBuyUpr5+fUcnk5eVkqt/aGMDbZ2YmJK38DOWco3T/Vbruz55qFi\r\nEaojfvAs6bcoFhfy+osPioZsWbjOu2XhQdlPs2CnEazJyZFX+AfYrQv2WWkU\r\nKX2kxPQ9DSqJhEHMKo//IQAlX/SOD9hoMxVgUIlYMLVXUDtJDMYAquWTo9+M\r\nfTePFz+wTmvqAmV/SNlL/ZlqGxuyTfT172o=\r\n=5Zh8\r\n-----END PGP SIGNATURE-----\r\n","size":132240,"noattachment":false,"key":"/tailwind-merge/-/tailwind-merge-1.8.0-dev.3ba2b9b20f40a8c295808517d912d475620a93dd.tgz"},"main":"dist/index.js","types":"./dist/index.d.ts","module":"dist/tailwind-merge.mjs","readme":"<div align=\"center\">\n    <br />\n    <a href=\"https://github.com/dcastil/tailwind-merge\">\n        <!-- AUTOGENERATED VERSION START -->\n        <img src=\"https://github.com/dcastil/tailwind-merge/raw/3ba2b9b20f40a8c295808517d912d475620a93dd/assets/logo.svg\" alt=\"tailwind-merge\" height=\"150px\" />\n        <!-- AUTOGENERATED END -->\n    </a>\n</div>\n\n# tailwind-merge\n\nUtility function to efficiently merge [Tailwind CSS](https://tailwindcss.com) classes in JS without style conflicts.\n\n```ts\nimport { twMerge } from 'tailwind-merge'\n\ntwMerge('px-2 py-1 bg-red hover:bg-dark-red', 'p-3 bg-[#B91C1C]')\n// → 'hover:bg-dark-red p-3 bg-[#B91C1C]'\n```\n\n-   Supports Tailwind v3.0 up to v3.2 (if you use Tailwind v2, use [tailwind-merge v0.9.0](https://github.com/dcastil/tailwind-merge/tree/v0.9.0))\n-   Works in all modern browsers and Node >=12\n-   Fully typed\n-   [Check bundle size on Bundlephobia](https://bundlephobia.com/package/tailwind-merge)\n\n## Get started\n\n<!-- AUTOGENERATED VERSION START -->\n\n-   [What is it for](https://github.com/dcastil/tailwind-merge/tree/3ba2b9b20f40a8c295808517d912d475620a93dd/docs/what-is-it-for.md)\n-   [Features](https://github.com/dcastil/tailwind-merge/tree/3ba2b9b20f40a8c295808517d912d475620a93dd/docs/features.md)\n-   [Configruation](https://github.com/dcastil/tailwind-merge/tree/3ba2b9b20f40a8c295808517d912d475620a93dd/docs/configuration.md)\n-   [Recipes](https://github.com/dcastil/tailwind-merge/tree/3ba2b9b20f40a8c295808517d912d475620a93dd/docs/recipes.md)\n-   [API reference](https://github.com/dcastil/tailwind-merge/tree/3ba2b9b20f40a8c295808517d912d475620a93dd/docs/api-reference.md)\n-   [Writing plugins](https://github.com/dcastil/tailwind-merge/tree/3ba2b9b20f40a8c295808517d912d475620a93dd/docs/writing-plugins.md)\n-   [Versioning](https://github.com/dcastil/tailwind-merge/tree/3ba2b9b20f40a8c295808517d912d475620a93dd/docs/versioning.md)\n-   [Contributing](https://github.com/dcastil/tailwind-merge/tree/3ba2b9b20f40a8c295808517d912d475620a93dd/.github/CONTRIBUTING.md)\n-   [Similar packages](https://github.com/dcastil/tailwind-merge/tree/3ba2b9b20f40a8c295808517d912d475620a93dd/docs/similar-packages.md)\n\n<!-- AUTOGENERATED END -->\n","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","import":"./dist/tailwind-merge.mjs","default":"./dist/tailwind-merge.mjs","require":"./dist/index.js"},"gitHead":"3ba2b9b20f40a8c295808517d912d475620a93dd","scripts":{"lint":"eslint --max-warnings 0 '**'","size":"size-limit","test":"dts test","build":"dts build","version":"zx scripts/update-readme.js","preversion":"if [ -n \"$DANYS_MACHINE\" ]; then git checkout main && git pull; fi","postversion":"if [ -n \"$DANYS_MACHINE\" ]; then git push --follow-tags && open https://github.com/dcastil/tailwind-merge/releases; fi","test:exports":"node scripts/test-built-package-exports.js && node scripts/test-built-package-exports.mjs"},"_npmUser":{"name":"dcas","email":"dcasnpm@gmail.com"},"repository":{"url":"git+https://github.com/dcastil/tailwind-merge.git","type":"git"},"_npmVersion":"8.19.2","description":"Merge Tailwind CSS classes without style conflicts","directories":{},"sideEffects":false,"_nodeVersion":"16.18.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^7.1.1","fp-ts":"^2.13.1","eslint":"^8.26.0","globby":"^11.1.0","dts-cli":"^1.6.0","ts-jest":"^29.0.3","prettier":"^2.7.1","size-limit":"^8.1.0","typescript":"^4.8.4","@types/jest":"^29.2.1","eslint-plugin-jest":"^27.1.3","eslint-plugin-import":"^2.26.0","@typescript-eslint/parser":"^5.42.0","@size-limit/preset-small-lib":"^8.1.0","@typescript-eslint/eslint-plugin":"^5.42.0"},"_npmOperationalInternal":{"tmp":"tmp/tailwind-merge_1.8.0-dev.3ba2b9b20f40a8c295808517d912d475620a93dd_1668523575937_0.11510326914475377","host":"s3://npm-registry-packages"},"publish_time":1668523576155,"_cnpm_publish_time":1668523576155,"dist-tags":{"dev":"3.0.2-dev.336458f49522f0d7574ffbdd33b9fef6a90b563e","latest":"3.0.2"}}