{"name":"tailwind-merge","version":"1.6.1-dev.74f5a1230c072006610a7af02fed903e6082aabe","keywords":["tailwindcss","tailwind","css","classes","className","classList","merge","conflict","override"],"author":{"name":"Dany Castillo"},"license":"MIT","_id":"tailwind-merge@1.6.1-dev.74f5a1230c072006610a7af02fed903e6082aabe","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":"7e92959dfc9254cb16836f7f14e9f1eb2c170e75","tarball":"http://registry-npm.ywwl.com/tailwind-merge/download/tailwind-merge-1.6.1-dev.74f5a1230c072006610a7af02fed903e6082aabe.tgz","fileCount":50,"integrity":"sha512-8DsXxoE4/Ws82s8/nK5ptUWWM3FJvnGnpGgzkHx1aHzQix81cNloLISj6vlhf5OhkAH7Z/r7V2zoCDQK0i7+2w==","signatures":[{"sig":"MEQCIFPJzF8g1Vj/pwfUevdYOTsH9SCOTQiKcJXjG4c0sEX0AiByfrPp1rcfPmfBYR9pjdXhZ4xv1yt7CcStOXNDzQOU7Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":615221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSGZcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrisBAAidV6KewXjxFZi0VDirvYrqXm9PH+e1oo4tn13lE8FZI1eIBL\r\nScB8MJXqcmKCmAM6RZ4pREaHqsCQRkZ9voARNhWTWB+SUA7Gm2hwLWkZ5+YN\r\nLFNfGqtjgTl9sy/+KZrG3Pqd1qXWcW5djdE4ZfsAA2s1vqbYgSK64YLyUl0/\r\ngV9YPSi/dnibBQCg1a2BLDv/hzMSi03Aw/YiGVU1z7dyEDOG8LyTwV0dVztC\r\nAv2sjSiN0mnJCeAmSi1KPve3XhGmewo8gYjwO0kKpNDdzbmmV1CsL8Tyf7ol\r\n+oURXVpf6iI8ytjUBnadBhD9fHfgbni5StF7kic8KfNbKiaNuDAhPxv4YD6K\r\ndSFdZBK4QrZ4jrD2bOyQ3kRWb1+3GzYsWd49kM1o6uDvs6VnBbysc8l+PURq\r\nWmwX3jLhSEoKZO9N8WPPGbn9xLtYfbSFZUxdSk08Z4G4QFCHr6c/cghoHpUg\r\nI4vd/eW0VLeWJK/qWiK7udBUXYZwtFlOtfFzALHGUEybyjYDYEwyXiPzHuNN\r\nWzzybEua/ovT/fAEBEs7oHFMrinu9naxmivUPOG4iqpEXFQSzgb3thF4PV7h\r\n8uzrc3DJ6P9koe7DNyR8WtbDxp8IwllSWLDWyNlwcguir/42dSKGPGXSyWLC\r\nr0tW3B+vyUQRANz98IpdDnRZ2dh9g62fX/w=\r\n=WFTl\r\n-----END PGP SIGNATURE-----\r\n","size":117716,"noattachment":false,"key":"/tailwind-merge/-/tailwind-merge-1.6.1-dev.74f5a1230c072006610a7af02fed903e6082aabe.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/74f5a1230c072006610a7af02fed903e6082aabe/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.1 (if you use Tailwind v2, use [tailwind-merge v0.9.0](https://github.com/dcastil/tailwind-merge/tree/v0.9.0))\n-   Works in Node >=12 and all modern browsers\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/74f5a1230c072006610a7af02fed903e6082aabe/docs/what-is-it-for.md)\n-   [Features](https://github.com/dcastil/tailwind-merge/tree/74f5a1230c072006610a7af02fed903e6082aabe/docs/features.md)\n-   [Configuring tailwind-merge](https://github.com/dcastil/tailwind-merge/tree/74f5a1230c072006610a7af02fed903e6082aabe/docs/configuring-tailwind-merge.md)\n-   [Recipes](https://github.com/dcastil/tailwind-merge/tree/74f5a1230c072006610a7af02fed903e6082aabe/docs/recipes.md)\n-   [API reference](https://github.com/dcastil/tailwind-merge/tree/74f5a1230c072006610a7af02fed903e6082aabe/docs/api-reference.md)\n-   [Writing plugins](https://github.com/dcastil/tailwind-merge/tree/74f5a1230c072006610a7af02fed903e6082aabe/docs/writing-plugins.md)\n-   [Versioning](https://github.com/dcastil/tailwind-merge/tree/74f5a1230c072006610a7af02fed903e6082aabe/docs/versioning.md)\n-   [Contributing](https://github.com/dcastil/tailwind-merge/tree/74f5a1230c072006610a7af02fed903e6082aabe/.github/CONTRIBUTING.md)\n-   [Similar packages](https://github.com/dcastil/tailwind-merge/tree/74f5a1230c072006610a7af02fed903e6082aabe/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":"74f5a1230c072006610a7af02fed903e6082aabe","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.15.0","description":"Merge Tailwind CSS classes without style conflicts","directories":{},"sideEffects":false,"_nodeVersion":"16.17.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^7.1.1","fp-ts":"^2.12.3","eslint":"^8.25.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.1.2","eslint-plugin-jest":"^27.1.1","eslint-plugin-import":"^2.26.0","@typescript-eslint/parser":"^5.40.0","@size-limit/preset-small-lib":"^8.1.0","@typescript-eslint/eslint-plugin":"^5.40.0"},"_npmOperationalInternal":{"tmp":"tmp/tailwind-merge_1.6.1-dev.74f5a1230c072006610a7af02fed903e6082aabe_1665689180370_0.274822997887086","host":"s3://npm-registry-packages"},"publish_time":1665689180575,"_cnpm_publish_time":1665689180575,"dist-tags":{"dev":"3.0.2-dev.336458f49522f0d7574ffbdd33b9fef6a90b563e","latest":"3.0.2"}}