{"name":"tailwind-merge","version":"0.0.0-dev.2d1d3a4fef2fc3b1653c0e1e858a18785f89da56","keywords":["tailwindcss","tailwind","css","classes","className","classList","merge","conflict","override"],"author":{"name":"Dany Castillo"},"license":"MIT","_id":"tailwind-merge@0.0.0-dev.2d1d3a4fef2fc3b1653c0e1e858a18785f89da56","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":"a2da41a824f36fae8eae6d59d87c44e8128e3479","tarball":"http://registry-npm.ywwl.com/tailwind-merge/download/tailwind-merge-0.0.0-dev.2d1d3a4fef2fc3b1653c0e1e858a18785f89da56.tgz","fileCount":50,"integrity":"sha512-iRn0y4LniodmPsMhVvCWKg++ffFR6zfceArwAwSDkib+Nqdoudah4cqTA9fExa/lIswceOle+6cKdnliyIVVdw==","signatures":[{"sig":"MEUCIFQAHIl0k033mWUZmoz03rUWTtzXG/Gs2U56N2LMkurFAiEAgcrAJrhGRLWvTb3j1K8pEFt8kbBUnCxfRCz8h81CCbs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":613683,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEOt6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmodIA//QEuJdXZVPfanJmpXADIfgEci1jHWwlQ9lDhuXz1MLXl8R97C\r\nIdapp4oDP7JAwaZ5YGXPcKFIVmpBM1a/93+VYZMUM3qfIjkLb44pcEdjYwco\r\nsgvXliEnwry/r/bMfiE1zkshPjXMLPFNexKuT3DwL3M95eCjGiAR7VvUylXR\r\nKE/sqZZVZFSVgmWMMJ6CeGrgxuvQVZpZzvOkXdBuGfQzl4T80x0N+q5/5o5Z\r\n4YJj/bXKN4WMOAkjA6potmyo4zgflLl3H7o/MTk75yRv4VxSgEhstOvC0RWN\r\nCFZU85BAkcaS14Dxi5+hUo9ymNEShomF4ICf4qbxRIhHfWW8k30IijQavCCY\r\nPvORMNED3yGHEC232BzWDsJnh+PBv9hXuX/WNxmezH77AV4YchYQBvOsMGAR\r\nAnauwDtAKu3cabTS5LWCUFJ9rnMoaNWImMs5xAYigxqPs1ZiadvM0WVupBVx\r\n4fjGvSzJs9rkcTkbDkzs7pZs1FPM7026FZjZdZMK6loczpmIOFJSx1XZjrz9\r\nr92aN7rZ2vAGzyvTvOI/2LYfFQvUL6BlHPf9HJYujxFH66V3M0mfp6ZWczzO\r\nIt1vbFhfhZEfKESPAWUNgLG36K7q5krlSJRRLnPbTkrXKqUIQgUXjc+3+Gfl\r\n/RKUjerN4E4hEFI2PUhhZg88XQXOe6hWDak=\r\n=B7b8\r\n-----END PGP SIGNATURE-----\r\n","size":117214,"noattachment":false,"key":"/tailwind-merge/-/tailwind-merge-0.0.0-dev.2d1d3a4fef2fc3b1653c0e1e858a18785f89da56.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/2d1d3a4fef2fc3b1653c0e1e858a18785f89da56/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/2d1d3a4fef2fc3b1653c0e1e858a18785f89da56/docs/what-is-it-for.md)\n-   [Features](https://github.com/dcastil/tailwind-merge/tree/2d1d3a4fef2fc3b1653c0e1e858a18785f89da56/docs/features.md)\n-   [Configuring tailwind-merge](https://github.com/dcastil/tailwind-merge/tree/2d1d3a4fef2fc3b1653c0e1e858a18785f89da56/docs/configuring-tailwind-merge.md)\n-   [Recipes](https://github.com/dcastil/tailwind-merge/tree/2d1d3a4fef2fc3b1653c0e1e858a18785f89da56/docs/recipes.md)\n-   [API reference](https://github.com/dcastil/tailwind-merge/tree/2d1d3a4fef2fc3b1653c0e1e858a18785f89da56/docs/api-reference.md)\n-   [Writing plugins](https://github.com/dcastil/tailwind-merge/tree/2d1d3a4fef2fc3b1653c0e1e858a18785f89da56/docs/writing-plugins.md)\n-   [Versioning](https://github.com/dcastil/tailwind-merge/tree/2d1d3a4fef2fc3b1653c0e1e858a18785f89da56/docs/versioning.md)\n-   [Contributing](https://github.com/dcastil/tailwind-merge/tree/2d1d3a4fef2fc3b1653c0e1e858a18785f89da56/.github/CONTRIBUTING.md)\n-   [Similar packages](https://github.com/dcastil/tailwind-merge/tree/2d1d3a4fef2fc3b1653c0e1e858a18785f89da56/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":"2d1d3a4fef2fc3b1653c0e1e858a18785f89da56","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.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^7.0.7","fp-ts":"^2.12.2","eslint":"^8.21.0","globby":"^11.1.0","dts-cli":"^1.5.2","ts-jest":"^28.0.7","prettier":"^2.7.1","size-limit":"^8.0.0","typescript":"^4.7.4","@types/jest":"^29.0.0","eslint-plugin-jest":"^27.0.1","eslint-plugin-import":"^2.26.0","@typescript-eslint/parser":"^5.31.0","@size-limit/preset-small-lib":"^8.0.0","@typescript-eslint/eslint-plugin":"^5.31.0"},"_npmOperationalInternal":{"tmp":"tmp/tailwind-merge_0.0.0-dev.2d1d3a4fef2fc3b1653c0e1e858a18785f89da56_1662053242679_0.22305445514283573","host":"s3://npm-registry-packages"},"publish_time":1662053242949,"_cnpm_publish_time":1662053242949,"dist-tags":{"dev":"3.0.2-dev.336458f49522f0d7574ffbdd33b9fef6a90b563e","latest":"3.0.2"}}