{"name":"tailwind-merge","version":"2.5.2-dev.9a68667c3a6710512dedcee4e74cbd60dbe57f38","description":"Merge Tailwind CSS classes without style conflicts","keywords":["tailwindcss","tailwind","css","classes","className","classList","merge","conflict","override"],"homepage":"https://github.com/dcastil/tailwind-merge","bugs":{"url":"https://github.com/dcastil/tailwind-merge/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/dcastil"},"license":"MIT","author":{"name":"Dany Castillo"},"source":"src/index.ts","exports":{".":{"types":"./dist/types.d.ts","require":"./dist/bundle-cjs.js","import":"./dist/bundle-mjs.mjs","default":"./dist/bundle-mjs.mjs"},"./es5":{"types":"./dist/types.d.ts","require":"./dist/es5/bundle-cjs.js","import":"./dist/es5/bundle-mjs.mjs","default":"./dist/es5/bundle-mjs.mjs"}},"main":"./dist/bundle-cjs.js","types":"./dist/types.d.ts","repository":{"type":"git","url":"git+https://github.com/dcastil/tailwind-merge.git"},"sideEffects":false,"scripts":{"build":"rollup --config scripts/rollup.config.mjs","bench":"vitest bench --config scripts/vitest.config.mts","test":"vitest --config scripts/vitest.config.mts --coverage","test:watch":"vitest --config scripts/vitest.config.mts","test:exports":"node scripts/test-built-package-exports.cjs && node scripts/test-built-package-exports.mjs","lint":"eslint --max-warnings 0 '**'","preversion":"if [ -n \"$DANYS_MACHINE\" ]; then git checkout main && git pull; fi","version":"zx scripts/update-readme.mjs","postversion":"if [ -n \"$DANYS_MACHINE\" ]; then git push --follow-tags && open https://github.com/dcastil/tailwind-merge/releases; fi"},"dependencies":{},"devDependencies":{"@babel/core":"^7.25.2","@babel/preset-env":"^7.25.4","@codspeed/vitest-plugin":"^3.1.1","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-typescript":"^11.1.6","@typescript-eslint/eslint-plugin":"^8.3.0","@typescript-eslint/parser":"^8.3.0","@vitest/coverage-v8":"^2.0.5","babel-plugin-annotate-pure-calls":"^0.4.0","babel-plugin-polyfill-regenerator":"^0.6.2","eslint":"^8.57.0","eslint-plugin-import":"^2.29.1","globby":"^11.1.0","prettier":"^3.3.3","rollup":"^4.21.2","rollup-plugin-delete":"^2.0.0","rollup-plugin-dts":"^6.1.1","tslib":"^2.7.0","typescript":"^5.5.4","vitest":"^2.0.5","zx":"^8.1.5"},"publishConfig":{"provenance":true},"_id":"tailwind-merge@2.5.2-dev.9a68667c3a6710512dedcee4e74cbd60dbe57f38","readmeFilename":"README.md","gitHead":"9a68667c3a6710512dedcee4e74cbd60dbe57f38","_nodeVersion":"20.11.1","_npmVersion":"10.8.3","dist":{"integrity":"sha512-PdyG/WnqD+1BawbdmIYD4fGex4N4LjQ5dM4/6NxmBQpJ1rkAex0RLO0NV+4cb7w6s+jeS7ZCMdx+6NAl8kU9BQ==","shasum":"28569b79e33b22d4a0d5d7c807c3e1e187025c04","tarball":"http://registry-npm.ywwl.com/tailwind-merge/download/tailwind-merge-2.5.2-dev.9a68667c3a6710512dedcee4e74cbd60dbe57f38.tgz","fileCount":27,"unpackedSize":709205,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tailwind-merge@2.5.2-dev.9a68667c3a6710512dedcee4e74cbd60dbe57f38","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC9usR409nkCqKmDnSot+J4+TBT783QZDcjMDRmCuZxfAiB07G4N22j/oirK6ZL/GX0K6IJq8OrqPa57VNIPsA6Wow=="}],"size":128864,"noattachment":false,"key":"/tailwind-merge/-/tailwind-merge-2.5.2-dev.9a68667c3a6710512dedcee4e74cbd60dbe57f38.tgz"},"_npmUser":{"name":"dcas","email":"tinge_07defunct@icloud.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tailwind-merge_2.5.2-dev.9a68667c3a6710512dedcee4e74cbd60dbe57f38_1725275686577_0.42431786340429856"},"_hasShrinkwrap":false,"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/v2.5.3/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.4 (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 maintained Node versions\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/v2.5.3/docs/what-is-it-for.md)\n-   [When and how to use it](https://github.com/dcastil/tailwind-merge/tree/v2.5.3/docs/when-and-how-to-use-it.md)\n-   [Features](https://github.com/dcastil/tailwind-merge/tree/v2.5.3/docs/features.md)\n-   [Limitations](https://github.com/dcastil/tailwind-merge/tree/v2.5.3/docs/limitations.md)\n-   [Configuration](https://github.com/dcastil/tailwind-merge/tree/v2.5.3/docs/configuration.md)\n-   [Recipes](https://github.com/dcastil/tailwind-merge/tree/v2.5.3/docs/recipes.md)\n-   [API reference](https://github.com/dcastil/tailwind-merge/tree/v2.5.3/docs/api-reference.md)\n-   [Writing plugins](https://github.com/dcastil/tailwind-merge/tree/v2.5.3/docs/writing-plugins.md)\n-   [Versioning](https://github.com/dcastil/tailwind-merge/tree/v2.5.3/docs/versioning.md)\n-   [Contributing](https://github.com/dcastil/tailwind-merge/tree/v2.5.3/docs/contributing.md)\n-   [Similar packages](https://github.com/dcastil/tailwind-merge/tree/v2.5.3/docs/similar-packages.md)\n","publish_time":1725275686726,"maintainers":[{"name":"dcas","email":"tinge_07defunct@icloud.com"}],"_cnpm_publish_time":1725275686726,"dist-tags":{"dev":"3.0.2-dev.336458f49522f0d7574ffbdd33b9fef6a90b563e","latest":"3.0.2"}}