{"name":"tailwind-merge","version":"1.12.0-dev.278b1dcc9bb93cfd9985f157f892a859537566e7","keywords":["tailwindcss","tailwind","css","classes","className","classList","merge","conflict","override"],"author":{"name":"Dany Castillo"},"license":"MIT","_id":"tailwind-merge@1.12.0-dev.278b1dcc9bb93cfd9985f157f892a859537566e7","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":"bcb034ae4bb901da90b55c9fc51f86e501548d80","tarball":"http://registry-npm.ywwl.com/tailwind-merge/download/tailwind-merge-1.12.0-dev.278b1dcc9bb93cfd9985f157f892a859537566e7.tgz","fileCount":66,"integrity":"sha512-ffwd3AfKVYNvqb0yT42uxymIU58cB9O6JwVe+ZsJaoBxoaY8ZPhub4dPGjOKBSCVMI9fWiSsEr9z0cjVs3zR6w==","signatures":[{"sig":"MEMCIGlYAl5Z4evzphc7ENx4xrPgidfM0C72rITGUS3i7aKtAh8MW0CIvtzpAWCPiGAHC1I8rjng6bm+YsQD7Lj4FO6/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tailwind-merge@1.12.0-dev.278b1dcc9bb93cfd9985f157f892a859537566e7","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"unpackedSize":761877,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkUNt/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmooTg//SdJjQj74O87zMspVCd1LzqkO/Bww1h+LVquMcKhUN79Au+H3\r\nqeq7YUJvh69UR9L14jPao1ky1PdobgQChTu+io9m9Rp3P3qKdnxIkK50jgyf\r\nrv4Cw4OE0l8jaaU1z4xWP2X4CuDP00cJHjQAfV85x9+wXtnuJf5P+hNQee5d\r\nLxAvuJ+ZOmkkZjBpdzMOQbDuvjr8GkNWs3yunWZYHA2jIW4d1MHXHRWWu3yu\r\nXozKrPJ2o3dXzm5ncixzAubaP6tigZ87y/ne49wUF/hgDKy1mEnAnC9UQooY\r\nzu1yqjyYeu8mawmVND0U/I4Tyg7IDvGi4FVsRw377CWTC/ntT7Oi9QyNDtxu\r\nwg73C3vL+aG/qDGc5uxrUSoOXFnY/c6Lk+qcNQwzaDkWgKZSFfjdZe27az2K\r\nkbnAjyGkgh+pzFym4RPIo+1lchnhvWjhCiGZhBisRcGEME4deq4hS0aPzveW\r\n3dSlsuMlpJ+0l4oWXKOxTZQhMRVq/qM/P8/ogTloaAD8KT362IG7TIsDG1qb\r\nZK5T0aceLWUZbDXU8tCbkDAIUX7S9ZclRbSsbX+4P1Mi5tsmrQuOQ5ajTf28\r\nphrkybjYcsJELGoALVY/uEgnYf1+fusqBEkOLbH2+RnvceLIG6SW84/sdBJB\r\n4yl5HDmY1S4qyXdsX0ZTjb/g7EyHK/VVsaE=\r\n=6aJx\r\n-----END PGP SIGNATURE-----\r\n","size":132120,"noattachment":false,"key":"/tailwind-merge/-/tailwind-merge-1.12.0-dev.278b1dcc9bb93cfd9985f157f892a859537566e7.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/278b1dcc9bb93cfd9985f157f892a859537566e7/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/278b1dcc9bb93cfd9985f157f892a859537566e7/docs/what-is-it-for.md)\n-   [Features](https://github.com/dcastil/tailwind-merge/tree/278b1dcc9bb93cfd9985f157f892a859537566e7/docs/features.md)\n-   [Configuration](https://github.com/dcastil/tailwind-merge/tree/278b1dcc9bb93cfd9985f157f892a859537566e7/docs/configuration.md)\n-   [Recipes](https://github.com/dcastil/tailwind-merge/tree/278b1dcc9bb93cfd9985f157f892a859537566e7/docs/recipes.md)\n-   [API reference](https://github.com/dcastil/tailwind-merge/tree/278b1dcc9bb93cfd9985f157f892a859537566e7/docs/api-reference.md)\n-   [Writing plugins](https://github.com/dcastil/tailwind-merge/tree/278b1dcc9bb93cfd9985f157f892a859537566e7/docs/writing-plugins.md)\n-   [Versioning](https://github.com/dcastil/tailwind-merge/tree/278b1dcc9bb93cfd9985f157f892a859537566e7/docs/versioning.md)\n-   [Contributing](https://github.com/dcastil/tailwind-merge/tree/278b1dcc9bb93cfd9985f157f892a859537566e7/.github/CONTRIBUTING.md)\n-   [Similar packages](https://github.com/dcastil/tailwind-merge/tree/278b1dcc9bb93cfd9985f157f892a859537566e7/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":"278b1dcc9bb93cfd9985f157f892a859537566e7","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":"9.6.5","description":"Merge Tailwind CSS classes without style conflicts","directories":{},"sideEffects":false,"_nodeVersion":"16.20.0","publishConfig":{"provenance":true},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^7.2.2","fp-ts":"^2.14.0","eslint":"^8.39.0","globby":"^11.1.0","dts-cli":"^1.6.3","ts-jest":"^29.1.0","prettier":"^2.8.8","size-limit":"^8.2.4","typescript":"^5.0.4","@types/jest":"^29.5.1","eslint-plugin-jest":"^27.2.1","eslint-plugin-import":"^2.27.5","@typescript-eslint/parser":"^5.59.2","@size-limit/preset-small-lib":"^8.2.4","@typescript-eslint/eslint-plugin":"^5.59.2"},"_npmOperationalInternal":{"tmp":"tmp/tailwind-merge_1.12.0-dev.278b1dcc9bb93cfd9985f157f892a859537566e7_1683020670899_0.13070514161829783","host":"s3://npm-registry-packages"},"publish_time":1683020671042,"_cnpm_publish_time":1683020671042,"dist-tags":{"dev":"3.0.2-dev.336458f49522f0d7574ffbdd33b9fef6a90b563e","latest":"3.0.2"}}