{"name":"tailwind-merge","version":"1.13.1-dev.bfdf1c3bbf7fb8a2d409b04e22e4c480e5c3a8f1","keywords":["tailwindcss","tailwind","css","classes","className","classList","merge","conflict","override"],"author":{"name":"Dany Castillo"},"license":"MIT","_id":"tailwind-merge@1.13.1-dev.bfdf1c3bbf7fb8a2d409b04e22e4c480e5c3a8f1","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":"eafe472f5c1700230521e4636fb8d33940cb80c9","tarball":"http://registry-npm.ywwl.com/tailwind-merge/download/tailwind-merge-1.13.1-dev.bfdf1c3bbf7fb8a2d409b04e22e4c480e5c3a8f1.tgz","fileCount":66,"integrity":"sha512-mYtJYoJiRV5HpBFgkB/FDPNMYXGF18GwC37+61WdN8hJWVoo8ue+A74VyVej4Ad+t4QrX8yjAl0jfEJgW/Rcew==","signatures":[{"sig":"MEUCIQCOMQtmPjepPsLjnT+hp7pR4hAqsWQoILVW3pIIpkPYogIgQTOBwYkN7IDsd/Ukn1JYwGPgEPIaeP4R3hcXP8sqfs8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tailwind-merge@1.13.1-dev.bfdf1c3bbf7fb8a2d409b04e22e4c480e5c3a8f1","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"unpackedSize":758379,"size":131908,"noattachment":false,"key":"/tailwind-merge/-/tailwind-merge-1.13.1-dev.bfdf1c3bbf7fb8a2d409b04e22e4c480e5c3a8f1.tgz"},"main":"dist/index.js","types":"./dist/index.d.ts","module":"dist/tailwind-merge.mjs","readme":"<!-- This file is autogenerated. If you want to change this content, please do the changes in `./docs/README.md` instead. -->\n\n<div align=\"center\">\n    <br />\n    <a href=\"https://github.com/dcastil/tailwind-merge\">\n        <img src=\"https://github.com/dcastil/tailwind-merge/raw/bfdf1c3bbf7fb8a2d409b04e22e4c480e5c3a8f1/assets/logo.svg\" alt=\"tailwind-merge\" height=\"150px\" />\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-   [What is it for](https://github.com/dcastil/tailwind-merge/tree/bfdf1c3bbf7fb8a2d409b04e22e4c480e5c3a8f1/docs/what-is-it-for.md)\n-   [When and how to use it](https://github.com/dcastil/tailwind-merge/tree/bfdf1c3bbf7fb8a2d409b04e22e4c480e5c3a8f1/docs/when-and-how-to-use-it.md)\n-   [Features](https://github.com/dcastil/tailwind-merge/tree/bfdf1c3bbf7fb8a2d409b04e22e4c480e5c3a8f1/docs/features.md)\n-   [Configuration](https://github.com/dcastil/tailwind-merge/tree/bfdf1c3bbf7fb8a2d409b04e22e4c480e5c3a8f1/docs/configuration.md)\n-   [Recipes](https://github.com/dcastil/tailwind-merge/tree/bfdf1c3bbf7fb8a2d409b04e22e4c480e5c3a8f1/docs/recipes.md)\n-   [API reference](https://github.com/dcastil/tailwind-merge/tree/bfdf1c3bbf7fb8a2d409b04e22e4c480e5c3a8f1/docs/api-reference.md)\n-   [Writing plugins](https://github.com/dcastil/tailwind-merge/tree/bfdf1c3bbf7fb8a2d409b04e22e4c480e5c3a8f1/docs/writing-plugins.md)\n-   [Versioning](https://github.com/dcastil/tailwind-merge/tree/bfdf1c3bbf7fb8a2d409b04e22e4c480e5c3a8f1/docs/versioning.md)\n-   [Contributing](https://github.com/dcastil/tailwind-merge/tree/bfdf1c3bbf7fb8a2d409b04e22e4c480e5c3a8f1/docs/contributing.md)\n-   [Similar packages](https://github.com/dcastil/tailwind-merge/tree/bfdf1c3bbf7fb8a2d409b04e22e4c480e5c3a8f1/docs/similar-packages.md)\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":"bfdf1c3bbf7fb8a2d409b04e22e4c480e5c3a8f1","scripts":{"lint":"eslint --max-warnings 0 '**'","size":"size-limit","test":"dts test","build":"dts build","version":"zx scripts/update-readme.mjs","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.cjs && 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.7.1","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","eslint":"^8.41.0","globby":"^11.1.0","dts-cli":"^2.0.3","ts-jest":"^29.1.0","prettier":"^2.8.8","size-limit":"^8.2.4","typescript":"^5.0.4","@types/jest":"^29.5.2","eslint-plugin-jest":"^27.2.1","eslint-plugin-import":"^2.27.5","@typescript-eslint/parser":"^5.59.8","@size-limit/preset-small-lib":"^8.2.4","@typescript-eslint/eslint-plugin":"^5.59.8"},"_npmOperationalInternal":{"tmp":"tmp/tailwind-merge_1.13.1-dev.bfdf1c3bbf7fb8a2d409b04e22e4c480e5c3a8f1_1686394816013_0.47944032974849415","host":"s3://npm-registry-packages"},"publish_time":1686394816198,"_cnpm_publish_time":1686394816198,"dist-tags":{"dev":"3.0.2-dev.336458f49522f0d7574ffbdd33b9fef6a90b563e","latest":"3.0.2"}}