{"name":"tailwind-merge","version":"1.12.0-dev.2fd82afaa3e9704236a3c7cd0e985511b16b0ef2","keywords":["tailwindcss","tailwind","css","classes","className","classList","merge","conflict","override"],"author":{"name":"Dany Castillo"},"license":"MIT","_id":"tailwind-merge@1.12.0-dev.2fd82afaa3e9704236a3c7cd0e985511b16b0ef2","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":"5e125f91671ffc132f8efa3ba400cc1e0f7ffdc7","tarball":"http://registry-npm.ywwl.com/tailwind-merge/download/tailwind-merge-1.12.0-dev.2fd82afaa3e9704236a3c7cd0e985511b16b0ef2.tgz","fileCount":66,"integrity":"sha512-7MMxCZwts4mGAzDWqr3rELNmrz1L5b22rTbO7cG3cLv6rCAHyi7o6HMLD5xVsFyHxLDpqtuXNojTL9snNiXBNQ==","signatures":[{"sig":"MEYCIQC2y/sdfg1yhZ48iilJghh9/a769XI8BH4znliIEwfG4wIhAOCB7YZn5GnOubfgDTYN4Q6oEsnP5e9bJiDgVyvjRTpJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":761820,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLTcSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmobtQ/+OACbLcssrHIdqizC4BFJeupnOFLDZH5EFkQFSFFq3EgtGLe2\r\nuAtI/2IQ4WSPG+TO+3uS8vcYidmt5IOkFu/k5mSK3E6f+GuFp+94bsLXg/nj\r\npDh3JLo9O8TqNLbtI1KBXES5nyB1mA5vQtF3ckEjynJYFyJf7JVg9mekc9QP\r\nxf7xE930ieSMVpA0HM+4AWfTz9tMB5mZDOxQ1zQfBmq28dcFae4N1W3eXiU/\r\nYEkTdxE52Sru8zuqe3NH82qPmIN11AkxjA1NiHfaATBnt8s54lCGzCsIbYYn\r\nZmAB2yJSLUxHzZ+WCmNpP/XkCDnwTHRHeB88kJhic0u2o/HmX8Fm9Tr2+2uZ\r\nO9gIlyRIHVYmoa5g8A1UwVlV3KMNplm1SKP5gtXkO8xkwxzhmc8o9+DhesUT\r\nX+0tRDAIOqSJMdQqQi1ELGEeBu7VQ04TQpRDIdfNj3GXJU1MOMg6oUqtUpRm\r\nDib0u7BBEnLvJL+ravc9UbJuXC/mBg2U+dtIQVV4c0VTdQaYcjouX8R+ERA4\r\nMZaKFo7aEkVZxida/rKc6jNCsqCgr+s8fzIC6/2LHzR1aK6CHRDVQWozjlK7\r\n/ylPt1oW41zvaUoTfZ1nBLTqrsJ74ismPvvAy7dSQOHHkobvKoTtfOzeOg3h\r\n9pUyUUO8VJSkzTW7s8cFkCM/5DAdbasuFRM=\r\n=yicR\r\n-----END PGP SIGNATURE-----\r\n","size":132087,"noattachment":false,"key":"/tailwind-merge/-/tailwind-merge-1.12.0-dev.2fd82afaa3e9704236a3c7cd0e985511b16b0ef2.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/2fd82afaa3e9704236a3c7cd0e985511b16b0ef2/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.3 (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/2fd82afaa3e9704236a3c7cd0e985511b16b0ef2/docs/what-is-it-for.md)\n-   [Features](https://github.com/dcastil/tailwind-merge/tree/2fd82afaa3e9704236a3c7cd0e985511b16b0ef2/docs/features.md)\n-   [Configuration](https://github.com/dcastil/tailwind-merge/tree/2fd82afaa3e9704236a3c7cd0e985511b16b0ef2/docs/configuration.md)\n-   [Recipes](https://github.com/dcastil/tailwind-merge/tree/2fd82afaa3e9704236a3c7cd0e985511b16b0ef2/docs/recipes.md)\n-   [API reference](https://github.com/dcastil/tailwind-merge/tree/2fd82afaa3e9704236a3c7cd0e985511b16b0ef2/docs/api-reference.md)\n-   [Writing plugins](https://github.com/dcastil/tailwind-merge/tree/2fd82afaa3e9704236a3c7cd0e985511b16b0ef2/docs/writing-plugins.md)\n-   [Versioning](https://github.com/dcastil/tailwind-merge/tree/2fd82afaa3e9704236a3c7cd0e985511b16b0ef2/docs/versioning.md)\n-   [Contributing](https://github.com/dcastil/tailwind-merge/tree/2fd82afaa3e9704236a3c7cd0e985511b16b0ef2/.github/CONTRIBUTING.md)\n-   [Similar packages](https://github.com/dcastil/tailwind-merge/tree/2fd82afaa3e9704236a3c7cd0e985511b16b0ef2/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"},"funding":{"url":"https://github.com/sponsors/dcastil","type":"github"},"gitHead":"2fd82afaa3e9704236a3c7cd0e985511b16b0ef2","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.3","description":"Merge Tailwind CSS classes without style conflicts","directories":{},"sideEffects":false,"_nodeVersion":"16.19.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^7.2.1","fp-ts":"^2.13.1","eslint":"^8.37.0","globby":"^11.1.0","dts-cli":"^1.6.3","ts-jest":"^29.0.5","prettier":"^2.8.7","size-limit":"^8.2.4","typescript":"^5.0.3","@types/jest":"^29.5.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-import":"^2.27.5","@typescript-eslint/parser":"^5.57.0","@size-limit/preset-small-lib":"^8.2.4","@typescript-eslint/eslint-plugin":"^5.57.0"},"_npmOperationalInternal":{"tmp":"tmp/tailwind-merge_1.12.0-dev.2fd82afaa3e9704236a3c7cd0e985511b16b0ef2_1680684817963_0.8197864490211291","host":"s3://npm-registry-packages"},"publish_time":1680684818173,"_cnpm_publish_time":1680684818173,"dist-tags":{"dev":"3.0.2-dev.336458f49522f0d7574ffbdd33b9fef6a90b563e","latest":"3.0.2"}}