{"name":"tailwind-merge","version":"1.8.0-dev.5c8ff41c5f5ebdeb29445a44c2b1bcb486bb93c6","keywords":["tailwindcss","tailwind","css","classes","className","classList","merge","conflict","override"],"author":{"name":"Dany Castillo"},"license":"MIT","_id":"tailwind-merge@1.8.0-dev.5c8ff41c5f5ebdeb29445a44c2b1bcb486bb93c6","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":"2f08bbe33ce92ae6b15d5303a068f9dc465b93de","tarball":"http://registry-npm.ywwl.com/tailwind-merge/download/tailwind-merge-1.8.0-dev.5c8ff41c5f5ebdeb29445a44c2b1bcb486bb93c6.tgz","fileCount":68,"integrity":"sha512-StV9na3vzWvZErA/Sq3Sevze1LN6oG7vr07ADQ770i4SEiCfNBwDHiJPnYXYpv15uiNvO1ClySecLez7Iqo26g==","signatures":[{"sig":"MEQCIHKFpxfGw6rVXBHKeMMQ3/THAjHBnNzBFGd1T6G8LRlDAiBOweRqwqMbr0vLJTwU/Ldq+dousT/MmlzaslO3fPN+HQ==","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\nwsFzBAEBCAAGBQJjkbJ0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpixw//Vy8gNsu0nY+kq+F0NoSZ5EXUH3+2HL3fwhzFpfQJdjYQut5j\r\nszkCp3Ing85G+dmoJGeVcfdV/z0sO9YVH08XoJgy00/fJ9PEY7L3lW2O4C69\r\nteXzJZrhA7wtUGajL7JWLworlfmdzzgfx8HEc0gU153RrR40nPHaFIVNeZbs\r\n+3H5IAPrK77jUOGYPGxySa4xwoUUiHqmLmRRiuK09IH0r8vQBq1eqXWGigRl\r\nMZT1EhWW8BwGFu0sp/yQDKYoy3/CcKFle6e2DXrAL1FLLnmWscqVbN7j8YkM\r\nAUkwo1ot4vdrdBeY6gVk4S42fjM4DTeIJM1rY2toQhfkyYGi0bo0B+wJMPrc\r\nBcSeX202Nhm3KYb4Cpbrs/DXbJOldFhn9SoMMen/ha/UXSIRb7sl2UqOmMp8\r\nBMb3vFNw68DRYa3RHGKadxGAQg25OdtbYOONY82qLKYY0OIR08ZHcDKQDKsz\r\nUjhWlD7nWzoZE+H+o6baB2eBnqbg0R7q0cj4+RX2Xm9gHgLD6OmP2eCNh217\r\ncBQcFZjw6Xht9cWr9D8mp5g69UhnxRFOyXOp+/s3ZMObT1hZ+d38MFGUZwam\r\nzIbTEPisX6AzVHasnlYrG6DW2YV/K8fLyble7tUqa1njVl69t6yTwoF2e3x8\r\nXluqDmFyfc0Y5HvR53US62JXjvZbnCK0LeM=\r\n=W2yP\r\n-----END PGP SIGNATURE-----\r\n","size":132237,"noattachment":false,"key":"/tailwind-merge/-/tailwind-merge-1.8.0-dev.5c8ff41c5f5ebdeb29445a44c2b1bcb486bb93c6.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/5c8ff41c5f5ebdeb29445a44c2b1bcb486bb93c6/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/5c8ff41c5f5ebdeb29445a44c2b1bcb486bb93c6/docs/what-is-it-for.md)\n-   [Features](https://github.com/dcastil/tailwind-merge/tree/5c8ff41c5f5ebdeb29445a44c2b1bcb486bb93c6/docs/features.md)\n-   [Configuration](https://github.com/dcastil/tailwind-merge/tree/5c8ff41c5f5ebdeb29445a44c2b1bcb486bb93c6/docs/configuration.md)\n-   [Recipes](https://github.com/dcastil/tailwind-merge/tree/5c8ff41c5f5ebdeb29445a44c2b1bcb486bb93c6/docs/recipes.md)\n-   [API reference](https://github.com/dcastil/tailwind-merge/tree/5c8ff41c5f5ebdeb29445a44c2b1bcb486bb93c6/docs/api-reference.md)\n-   [Writing plugins](https://github.com/dcastil/tailwind-merge/tree/5c8ff41c5f5ebdeb29445a44c2b1bcb486bb93c6/docs/writing-plugins.md)\n-   [Versioning](https://github.com/dcastil/tailwind-merge/tree/5c8ff41c5f5ebdeb29445a44c2b1bcb486bb93c6/docs/versioning.md)\n-   [Contributing](https://github.com/dcastil/tailwind-merge/tree/5c8ff41c5f5ebdeb29445a44c2b1bcb486bb93c6/.github/CONTRIBUTING.md)\n-   [Similar packages](https://github.com/dcastil/tailwind-merge/tree/5c8ff41c5f5ebdeb29445a44c2b1bcb486bb93c6/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":"5c8ff41c5f5ebdeb29445a44c2b1bcb486bb93c6","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.28.0","globby":"^11.1.0","dts-cli":"^1.6.0","ts-jest":"^29.0.3","prettier":"^2.8.0","size-limit":"^8.1.0","typescript":"^4.9.3","@types/jest":"^29.2.3","eslint-plugin-jest":"^27.1.6","eslint-plugin-import":"^2.26.0","@typescript-eslint/parser":"^5.45.0","@size-limit/preset-small-lib":"^8.1.0","@typescript-eslint/eslint-plugin":"^5.45.0"},"_npmOperationalInternal":{"tmp":"tmp/tailwind-merge_1.8.0-dev.5c8ff41c5f5ebdeb29445a44c2b1bcb486bb93c6_1670492787894_0.8353728120444772","host":"s3://npm-registry-packages"},"publish_time":1670492788076,"_cnpm_publish_time":1670492788076,"dist-tags":{"dev":"3.0.2-dev.336458f49522f0d7574ffbdd33b9fef6a90b563e","latest":"3.0.2"}}