{"name":"tailwind-merge","version":"0.0.0-dev.dcdfd587727ff591bf3192fda7bf0624a951db5c","keywords":["tailwindcss","tailwind","css","classes","className","classList","merge","conflict","override"],"author":{"name":"Dany Castillo"},"license":"MIT","_id":"tailwind-merge@0.0.0-dev.dcdfd587727ff591bf3192fda7bf0624a951db5c","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":"7a72e1b5d371844e75fec356a71f196fdfc3cb59","tarball":"http://registry-npm.ywwl.com/tailwind-merge/download/tailwind-merge-0.0.0-dev.dcdfd587727ff591bf3192fda7bf0624a951db5c.tgz","fileCount":50,"integrity":"sha512-jekti1kqy8V8q5bQ0DQl/LorSCM/9LZKqrqXTBJKP8UtCLc270wR7s/Q7yHXQ15fApwhYUYKgugMmguw3ZMsRw==","signatures":[{"sig":"MEYCIQDoXT7wCA6NhN48UU2fXl83RQku6rI0SwD1gi54oChtYwIhAM2sZx418cYeAIJ2NuGbDxGLj46yyyZpR3QRqBaNnjuO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":613930,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRcZRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo9Dg/6Avj+jeBKhxKD3fU9f0j1z+MUlhP8tXZCnrfpjw+aETlmp6Sb\r\nI86UPTh3hQtIrLqSArChTPGQ9aQuQjRO/9Gt8C1Ra3fnvvjEg/Ar9uYndeLI\r\n3CZfsdwg3IrSa2MT2KJki8hZKQ0SvY1oMWAbzaR2yxemMKl8A8hyuY6T1fOc\r\nQrn2y7YsKt3NgqaSDhh8jJmzX18IlFZn+FTbiyjErFIuM0SvNRpwua1lpoxN\r\nn4pxhQuknWzt1C0bwgj1Ffrz58BX3g1pmIfeoLM1kNh9jEI5VPHenHn45NR9\r\nuMsMDhgZHXRwhfZEk/X14jg2oVX/kFRsg+GbRpV8AM537IY4ibxm5eE0qzP/\r\nx6HX5c8DkMT9Lb5rQrquP1h6y3fNRTUBHIgALfio549oKGfxWxl6c6Etw0UA\r\nfnrv7EZoLbZvIB2OPt/ilwfc1/UV6tXBw6xGo1vZKr9zZ8Pndjz2vSEblCjO\r\nV2vo2WqwD4zRG0quB5TFb5F+QKUmfUA421NdUYHBjPYHY9ighL4uwdvP5zYi\r\nadaNPCTP/Jxq2oJ5JL6lE1kEyNKlUJ0bRtL9vttcBgbb7t1UcRCOwboM8JeB\r\ndpk1Mtno+RLuPOKTWbyiiXemAQ9WpMCcgKNmP1PE7ygeK0SUr1e2/6Fu7wrl\r\nH/ulGVWTzfggLQwByiOptPYsKYHqIscbRbA=\r\n=6yRU\r\n-----END PGP SIGNATURE-----\r\n","size":117263,"noattachment":false,"key":"/tailwind-merge/-/tailwind-merge-0.0.0-dev.dcdfd587727ff591bf3192fda7bf0624a951db5c.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/dcdfd587727ff591bf3192fda7bf0624a951db5c/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/dcdfd587727ff591bf3192fda7bf0624a951db5c/docs/what-is-it-for.md)\n-   [Features](https://github.com/dcastil/tailwind-merge/tree/dcdfd587727ff591bf3192fda7bf0624a951db5c/docs/features.md)\n-   [Configuring tailwind-merge](https://github.com/dcastil/tailwind-merge/tree/dcdfd587727ff591bf3192fda7bf0624a951db5c/docs/configuring-tailwind-merge.md)\n-   [Recipes](https://github.com/dcastil/tailwind-merge/tree/dcdfd587727ff591bf3192fda7bf0624a951db5c/docs/recipes.md)\n-   [API reference](https://github.com/dcastil/tailwind-merge/tree/dcdfd587727ff591bf3192fda7bf0624a951db5c/docs/api-reference.md)\n-   [Writing plugins](https://github.com/dcastil/tailwind-merge/tree/dcdfd587727ff591bf3192fda7bf0624a951db5c/docs/writing-plugins.md)\n-   [Versioning](https://github.com/dcastil/tailwind-merge/tree/dcdfd587727ff591bf3192fda7bf0624a951db5c/docs/versioning.md)\n-   [Contributing](https://github.com/dcastil/tailwind-merge/tree/dcdfd587727ff591bf3192fda7bf0624a951db5c/.github/CONTRIBUTING.md)\n-   [Similar packages](https://github.com/dcastil/tailwind-merge/tree/dcdfd587727ff591bf3192fda7bf0624a951db5c/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":"dcdfd587727ff591bf3192fda7bf0624a951db5c","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":"^28.0.8","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_0.0.0-dev.dcdfd587727ff591bf3192fda7bf0624a951db5c_1665517137234_0.3293083975362425","host":"s3://npm-registry-packages"},"publish_time":1665517137441,"_cnpm_publish_time":1665517137441,"dist-tags":{"dev":"3.0.2-dev.336458f49522f0d7574ffbdd33b9fef6a90b563e","latest":"3.0.2"}}