{"name":"tailwind-merge","version":"1.8.1-dev.edd2b304ed6aac0c80024102a764144b2cd8b07d","keywords":["tailwindcss","tailwind","css","classes","className","classList","merge","conflict","override"],"author":{"name":"Dany Castillo"},"license":"MIT","_id":"tailwind-merge@1.8.1-dev.edd2b304ed6aac0c80024102a764144b2cd8b07d","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":"e9126e7295022a0e1865223620430e86f3431a34","tarball":"http://registry-npm.ywwl.com/tailwind-merge/download/tailwind-merge-1.8.1-dev.edd2b304ed6aac0c80024102a764144b2cd8b07d.tgz","fileCount":66,"integrity":"sha512-O1+SLd1EL4n68j79tdpX76fTwP57WkRHMymt0kzckTzzHEPjJ/UvJzHuOEyrHJtFF17lDroErFOgkUXg6Mb/1Q==","signatures":[{"sig":"MEYCIQCj13cTzx0opeF6ueI9ge+oTOAQKJuSTlTgOhbOtWRqCgIhAMxfhsSUGhO5nK/xpbyyjwFdDeQgPi9PZaIBECRk0uxe","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":694280,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjsXs/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpmhA/8CnjOBX/Kf8N/Je+zsN/vRO+BUHCZHzSW+GMD1ISSzljQRr6J\r\nmG7iO6FV5LsAZeEq0DP7za8JE2sZ7Au6ROxbmSIn3r9RpuZTWyjbCSnPGNrI\r\nP5kpxVOOLAc+H8Ed6y+/1K40NYicO8SKUWCnkzcA+DsNIziLGWc9oyEYou/o\r\nMM0iUVeUnudDTZ4Cu4KfgovhrCrPfFu61EatipGtRcBSvgtdqAUIZ9/vunrq\r\ngkCeNqioj8ZByEjsAk3DIcaH8SlCFDmTJ3jYxGPDdKO6qLZpEBk2GS3woFwQ\r\neWFodmeJHzXhd5VS1GYdMwRhVF/MbyDa/7nk+yuunvv4rAU+ihzKJsncVmpH\r\npNMNt4/bC4mTgZqo/APwp6Utla3QttoyejRmsadCnoIimj3XX/734Xykpbfn\r\ngkvlLKoQ1nGdg5GcVDYXMwFqHF5iaPPCYRTqub0zri/iH4DNm3Z3EAiE4lUD\r\nTNwQPH3SVYAnwCVejj9qPOQT18ftZ3ZLykjacdxj5S/CBTs19Ncuqf/n2QpZ\r\nAC0CywaoHzOiCQn/QX7wpjzsE+AkyPZTM/DtXEcONMkzGnpjsGzR/OuZsd6h\r\nyEZEczmM1Feot6yt6je1VcgWhE6uYj7plqpYk7brHHyNcaFjbr1MykF5cCEo\r\nu+0/3xZVcj24bPdD7yajJAIr4CIhcfdPj4k=\r\n=ogyc\r\n-----END PGP SIGNATURE-----\r\n","size":122723,"noattachment":false,"key":"/tailwind-merge/-/tailwind-merge-1.8.1-dev.edd2b304ed6aac0c80024102a764144b2cd8b07d.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/edd2b304ed6aac0c80024102a764144b2cd8b07d/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/edd2b304ed6aac0c80024102a764144b2cd8b07d/docs/what-is-it-for.md)\n-   [Features](https://github.com/dcastil/tailwind-merge/tree/edd2b304ed6aac0c80024102a764144b2cd8b07d/docs/features.md)\n-   [Configuration](https://github.com/dcastil/tailwind-merge/tree/edd2b304ed6aac0c80024102a764144b2cd8b07d/docs/configuration.md)\n-   [Recipes](https://github.com/dcastil/tailwind-merge/tree/edd2b304ed6aac0c80024102a764144b2cd8b07d/docs/recipes.md)\n-   [API reference](https://github.com/dcastil/tailwind-merge/tree/edd2b304ed6aac0c80024102a764144b2cd8b07d/docs/api-reference.md)\n-   [Writing plugins](https://github.com/dcastil/tailwind-merge/tree/edd2b304ed6aac0c80024102a764144b2cd8b07d/docs/writing-plugins.md)\n-   [Versioning](https://github.com/dcastil/tailwind-merge/tree/edd2b304ed6aac0c80024102a764144b2cd8b07d/docs/versioning.md)\n-   [Contributing](https://github.com/dcastil/tailwind-merge/tree/edd2b304ed6aac0c80024102a764144b2cd8b07d/.github/CONTRIBUTING.md)\n-   [Similar packages](https://github.com/dcastil/tailwind-merge/tree/edd2b304ed6aac0c80024102a764144b2cd8b07d/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":"edd2b304ed6aac0c80024102a764144b2cd8b07d","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.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^7.1.1","fp-ts":"^2.13.1","eslint":"^8.31.0","globby":"^11.1.0","dts-cli":"^1.6.3","ts-jest":"^29.0.3","prettier":"^2.8.1","size-limit":"^8.1.0","typescript":"^4.9.4","@types/jest":"^29.2.5","eslint-plugin-jest":"^27.2.0","eslint-plugin-import":"^2.26.0","@typescript-eslint/parser":"^5.47.1","@size-limit/preset-small-lib":"^8.1.0","@typescript-eslint/eslint-plugin":"^5.47.1"},"_npmOperationalInternal":{"tmp":"tmp/tailwind-merge_1.8.1-dev.edd2b304ed6aac0c80024102a764144b2cd8b07d_1672575806920_0.9646315033328894","host":"s3://npm-registry-packages"},"publish_time":1672575807087,"_cnpm_publish_time":1672575807087,"dist-tags":{"dev":"3.0.2-dev.336458f49522f0d7574ffbdd33b9fef6a90b563e","latest":"3.0.2"}}