{"name":"tailwind-merge","version":"1.8.0-dev.edbc7c1155b5311662ccf7e74cfbd7a3c8b23b6d","keywords":["tailwindcss","tailwind","css","classes","className","classList","merge","conflict","override"],"author":{"name":"Dany Castillo"},"license":"MIT","_id":"tailwind-merge@1.8.0-dev.edbc7c1155b5311662ccf7e74cfbd7a3c8b23b6d","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":"c8a2265e145b1271307ea792a9fbe798cefed8bb","tarball":"http://registry-npm.ywwl.com/tailwind-merge/download/tailwind-merge-1.8.0-dev.edbc7c1155b5311662ccf7e74cfbd7a3c8b23b6d.tgz","fileCount":68,"integrity":"sha512-0L3MH7Jo5Unzk8e7GuYh2cd+MDFpnAyQJ7FQIFGUyknbV1+9H40cvhI8rJkaiJNHdHh2U6q5U3/yW45UDa96Ig==","signatures":[{"sig":"MEUCICdXpSmoqV7iKSNUtalaFmoPpowBfdBsqIf9/njlaI2NAiEAwb46F2wDaQCyRHdzTMTG3Qk11dbvH4ZiVdfYA/pcVY8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":705813,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJja9hvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmok5w//T20ofOD+NX6alcKg5q/1pyiywa/ENKt37xDhurHXePc2YNR1\r\nJTTcGgVOyI8kjlhfdEvXyjsbBU4OZHeHAuDTzVIM752hwW6kgCsW0CVcj2pv\r\nnqfyowWyIca0PRx0+S0wjkgA7iQBVicY2GTVkshmvfmCU1J7LzVIhzEHhEln\r\nEPuXr/PigdKuU7IIwmyT6RcknBR+rDpPXBtvHahz2mW39frdcQIwIc0MEgFD\r\nDq4tz5PM0ChqVmqq6Yj8xrbgff+NX5vn2KrhA0djqB1YNcw4usXA8g91MkaQ\r\nYD/y6tdwRSzPDQ2kPM0ZrT3yVWKa6oAlS5453sKcizUrnXPEPy/ZiYxcfQPl\r\n290LvnjBKh/U2YuXXvIbH6SMXdXbf24AA5ztpwPu0a/N9BP8oMWloISpHjZu\r\ngzuYrua2vibij/h1yK0QhDmynU1CtCVpUAy5fs408Rdq41rNXnBFLBCUlFNR\r\nepoRibe0fzcLAKDd4JZhdPmcUhOdGAHI33fQTRKhQcXiZ16F2e+CFOm559lt\r\n4b+SfYve0mVd+Zg2TJmOxYaCZbkRh20CWvTXujtNYGVVZd0mm/aab+osws2U\r\nfB31rAT0EU5haBtUaM0KW94IrhRVOWi0bm++z6ZZBXvtTtuDHVDTjyGCWsdS\r\n1vWyzygWCZ3eG8vurvm2x+J4o/H8YaO4sFw=\r\n=CYpd\r\n-----END PGP SIGNATURE-----\r\n","size":132227,"noattachment":false,"key":"/tailwind-merge/-/tailwind-merge-1.8.0-dev.edbc7c1155b5311662ccf7e74cfbd7a3c8b23b6d.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/edbc7c1155b5311662ccf7e74cfbd7a3c8b23b6d/assets/logo.svg\" alt=\"tailwind-merge\" width=\"221px\" />\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/edbc7c1155b5311662ccf7e74cfbd7a3c8b23b6d/docs/what-is-it-for.md)\n-   [Features](https://github.com/dcastil/tailwind-merge/tree/edbc7c1155b5311662ccf7e74cfbd7a3c8b23b6d/docs/features.md)\n-   [Configruation](https://github.com/dcastil/tailwind-merge/tree/edbc7c1155b5311662ccf7e74cfbd7a3c8b23b6d/docs/configuration.md)\n-   [Recipes](https://github.com/dcastil/tailwind-merge/tree/edbc7c1155b5311662ccf7e74cfbd7a3c8b23b6d/docs/recipes.md)\n-   [API reference](https://github.com/dcastil/tailwind-merge/tree/edbc7c1155b5311662ccf7e74cfbd7a3c8b23b6d/docs/api-reference.md)\n-   [Writing plugins](https://github.com/dcastil/tailwind-merge/tree/edbc7c1155b5311662ccf7e74cfbd7a3c8b23b6d/docs/writing-plugins.md)\n-   [Versioning](https://github.com/dcastil/tailwind-merge/tree/edbc7c1155b5311662ccf7e74cfbd7a3c8b23b6d/docs/versioning.md)\n-   [Contributing](https://github.com/dcastil/tailwind-merge/tree/edbc7c1155b5311662ccf7e74cfbd7a3c8b23b6d/.github/CONTRIBUTING.md)\n-   [Similar packages](https://github.com/dcastil/tailwind-merge/tree/edbc7c1155b5311662ccf7e74cfbd7a3c8b23b6d/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":"edbc7c1155b5311662ccf7e74cfbd7a3c8b23b6d","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.edbc7c1155b5311662ccf7e74cfbd7a3c8b23b6d_1668012143372_0.34533892680455747","host":"s3://npm-registry-packages"},"publish_time":1668012143593,"_cnpm_publish_time":1668012143593,"dist-tags":{"dev":"3.0.2-dev.336458f49522f0d7574ffbdd33b9fef6a90b563e","latest":"3.0.2"}}