{"name":"tailwind-merge","version":"1.6.2-dev.cad2db2efbb07c502c236eca2bb2662db79e1f7c","keywords":["tailwindcss","tailwind","css","classes","className","classList","merge","conflict","override"],"author":{"name":"Dany Castillo"},"license":"MIT","_id":"tailwind-merge@1.6.2-dev.cad2db2efbb07c502c236eca2bb2662db79e1f7c","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":"04c879ac9a794f0c43b8acccc448dbb565111f84","tarball":"http://registry-npm.ywwl.com/tailwind-merge/download/tailwind-merge-1.6.2-dev.cad2db2efbb07c502c236eca2bb2662db79e1f7c.tgz","fileCount":50,"integrity":"sha512-hWYkU9i1IjETsFGmyoL9jTd8NCi+6Z4M1uddmP1CVPLmznDJ399CVMvhp1f8PuYxbZEPIIUhXlfDZ72FEwyNhg==","signatures":[{"sig":"MEUCICfqNe+Ai68CBXMwgUNTbaSjt5PfYrmTnkSbQjlwdwKzAiEAgrqLP3EGiZjA9YwhOvi1u/EgXQN4W0jo8UM/CzTgBDY=","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\nwsFzBAEBCAAGBQJjSGa0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpCDQ//bzu1S8BuLPzaQw2jqWi56I0/s+yuZ8RdW/M69AjRp4Hc0Qtv\r\nA6yEXBgCkePTrZnWZRcwcRohl1F1t9m7x4e/i2Pz4vxBsCvVS5syPmljcPdI\r\nLAYgZhbATjszxtkO+hPpMhTOq/W2BksxgO5CgokabdfZ+D6C4Uv/K2KriP2U\r\nqESf8LECmZD02t2/qvFqK5n4evbQHVxo80vmhfoeI7Q7t8JVaRGuIUw8QeeT\r\nmkHxqL87s9SCrN+O7/WoOrxulYMXFZS6C9w0rLv/YwoQdUET1g9ggkbWMH5T\r\nkj8zHoPi+XpmK//9wLkdADrE6+7soRsy02QVWsSVhlr6uHhcpPwRk/rKbO68\r\n4H8t/qJTBeKHP6dhI8VT4wNBwATSaCwvenplRtOqkkel1nzt0c61PdYUM6Fo\r\nGOc5e/XhTV6jbF5zpioy7huJznGu6OH1IuStMgn+ozjoPIJvPPwLgH/8ugrz\r\nqKAh3f4P7lveY4yDfEvpDH8aABknNxFPjmfjlvI3N7tNCKXNhdXq/18vi+sV\r\nKJN22Qmxk/5o/268GXjrZYn/ivT9Xh0qM6MgBYJDL/b9TW5ECt11sngmolJa\r\nza3Q30FGaXx8kbRxCQo7wvstOnBHD1c6xmXIfZhExaj0E0KIsObj+z35YAmI\r\nISATE0dXVHZvRrPshdm4gPrq2qxDOjT/uws=\r\n=Wm5h\r\n-----END PGP SIGNATURE-----\r\n","size":117712,"noattachment":false,"key":"/tailwind-merge/-/tailwind-merge-1.6.2-dev.cad2db2efbb07c502c236eca2bb2662db79e1f7c.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/cad2db2efbb07c502c236eca2bb2662db79e1f7c/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/cad2db2efbb07c502c236eca2bb2662db79e1f7c/docs/what-is-it-for.md)\n-   [Features](https://github.com/dcastil/tailwind-merge/tree/cad2db2efbb07c502c236eca2bb2662db79e1f7c/docs/features.md)\n-   [Configuring tailwind-merge](https://github.com/dcastil/tailwind-merge/tree/cad2db2efbb07c502c236eca2bb2662db79e1f7c/docs/configuring-tailwind-merge.md)\n-   [Recipes](https://github.com/dcastil/tailwind-merge/tree/cad2db2efbb07c502c236eca2bb2662db79e1f7c/docs/recipes.md)\n-   [API reference](https://github.com/dcastil/tailwind-merge/tree/cad2db2efbb07c502c236eca2bb2662db79e1f7c/docs/api-reference.md)\n-   [Writing plugins](https://github.com/dcastil/tailwind-merge/tree/cad2db2efbb07c502c236eca2bb2662db79e1f7c/docs/writing-plugins.md)\n-   [Versioning](https://github.com/dcastil/tailwind-merge/tree/cad2db2efbb07c502c236eca2bb2662db79e1f7c/docs/versioning.md)\n-   [Contributing](https://github.com/dcastil/tailwind-merge/tree/cad2db2efbb07c502c236eca2bb2662db79e1f7c/.github/CONTRIBUTING.md)\n-   [Similar packages](https://github.com/dcastil/tailwind-merge/tree/cad2db2efbb07c502c236eca2bb2662db79e1f7c/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":"cad2db2efbb07c502c236eca2bb2662db79e1f7c","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.2-dev.cad2db2efbb07c502c236eca2bb2662db79e1f7c_1665689268269_0.008572522482518607","host":"s3://npm-registry-packages"},"publish_time":1665689268442,"_cnpm_publish_time":1665689268442,"dist-tags":{"dev":"3.0.2-dev.336458f49522f0d7574ffbdd33b9fef6a90b563e","latest":"3.0.2"}}