{"name":"tailwind-merge","version":"2.0.0-dev.bf16993e2fff2cef0e4f5ad0b74fa497c8f731fa","keywords":["tailwindcss","tailwind","css","classes","className","classList","merge","conflict","override"],"author":{"name":"Dany Castillo"},"license":"MIT","_id":"tailwind-merge@2.0.0-dev.bf16993e2fff2cef0e4f5ad0b74fa497c8f731fa","maintainers":[{"name":"dcas","email":"tinge_07defunct@icloud.com"}],"homepage":"https://github.com/dcastil/tailwind-merge","bugs":{"url":"https://github.com/dcastil/tailwind-merge/issues"},"dist":{"shasum":"d8773f3f13d879950b6a7a75cd425f169d239088","tarball":"http://registry-npm.ywwl.com/tailwind-merge/download/tailwind-merge-2.0.0-dev.bf16993e2fff2cef0e4f5ad0b74fa497c8f731fa.tgz","fileCount":27,"integrity":"sha512-xFWAmqV3IirJ2TL5usun1XUqU7AiMqNnMd/+BncPZGOIVzz62wCArAGBmLDXiO8iMutjf82tkppBORFMoWmJUg==","signatures":[{"sig":"MEUCIQCW4eu4o4RlpA6Od5H7GMm6a74PUKkoaJbKqDO9HO3FuAIgYo6+IvXtOWiitGInx82wll97v2QkhZ4Uk4PTn3+Hyx8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tailwind-merge@2.0.0-dev.bf16993e2fff2cef0e4f5ad0b74fa497c8f731fa","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":688433,"size":124360,"noattachment":false,"key":"/tailwind-merge/-/tailwind-merge-2.0.0-dev.bf16993e2fff2cef0e4f5ad0b74fa497c8f731fa.tgz"},"main":"./dist/bundle-cjs.js","types":"./dist/types.d.ts","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/bf16993e2fff2cef0e4f5ad0b74fa497c8f731fa/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/bf16993e2fff2cef0e4f5ad0b74fa497c8f731fa/docs/what-is-it-for.md)\n-   [When and how to use it](https://github.com/dcastil/tailwind-merge/tree/bf16993e2fff2cef0e4f5ad0b74fa497c8f731fa/docs/when-and-how-to-use-it.md)\n-   [Features](https://github.com/dcastil/tailwind-merge/tree/bf16993e2fff2cef0e4f5ad0b74fa497c8f731fa/docs/features.md)\n-   [Limitations](https://github.com/dcastil/tailwind-merge/tree/bf16993e2fff2cef0e4f5ad0b74fa497c8f731fa/docs/limitations.md)\n-   [Configuration](https://github.com/dcastil/tailwind-merge/tree/bf16993e2fff2cef0e4f5ad0b74fa497c8f731fa/docs/configuration.md)\n-   [Recipes](https://github.com/dcastil/tailwind-merge/tree/bf16993e2fff2cef0e4f5ad0b74fa497c8f731fa/docs/recipes.md)\n-   [API reference](https://github.com/dcastil/tailwind-merge/tree/bf16993e2fff2cef0e4f5ad0b74fa497c8f731fa/docs/api-reference.md)\n-   [Writing plugins](https://github.com/dcastil/tailwind-merge/tree/bf16993e2fff2cef0e4f5ad0b74fa497c8f731fa/docs/writing-plugins.md)\n-   [Versioning](https://github.com/dcastil/tailwind-merge/tree/bf16993e2fff2cef0e4f5ad0b74fa497c8f731fa/docs/versioning.md)\n-   [Contributing](https://github.com/dcastil/tailwind-merge/tree/bf16993e2fff2cef0e4f5ad0b74fa497c8f731fa/docs/contributing.md)\n-   [Similar packages](https://github.com/dcastil/tailwind-merge/tree/bf16993e2fff2cef0e4f5ad0b74fa497c8f731fa/docs/similar-packages.md)\n","source":"src/index.ts","exports":{".":{"types":"./dist/types.d.ts","import":"./dist/bundle-mjs.mjs","default":"./dist/bundle-mjs.mjs","require":"./dist/bundle-cjs.js"},"./es5":{"types":"./dist/types.d.ts","import":"./dist/es5/bundle-mjs.mjs","default":"./dist/es5/bundle-mjs.mjs","require":"./dist/es5/bundle-cjs.js"}},"funding":{"url":"https://github.com/sponsors/dcastil","type":"github"},"gitHead":"bf16993e2fff2cef0e4f5ad0b74fa497c8f731fa","scripts":{"lint":"eslint --max-warnings 0 '**'","size":"size-limit","test":"jest test --config scripts/jest.config.mjs --coverage","build":"rollup --config scripts/rollup.config.mjs","version":"zx scripts/update-readme.mjs","preversion":"if [ -n \"$DANYS_MACHINE\" ]; then git checkout main && git pull; fi","test:watch":"jest test --config scripts/jest.config.mjs --watch","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":"tinge_07defunct@icloud.com"},"repository":{"url":"git+https://github.com/dcastil/tailwind-merge.git","type":"git"},"_npmVersion":"10.2.4","description":"Merge Tailwind CSS classes without style conflicts","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"@babel/runtime":"^7.23.5"},"publishConfig":{"provenance":true},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^7.2.3","jest":"^29.7.0","eslint":"^8.54.0","globby":"^11.1.0","rollup":"^4.6.1","ts-jest":"^29.1.1","prettier":"^3.1.0","size-limit":"^10.0.3","typescript":"^5.3.2","@types/jest":"^29.5.10","@babel/preset-env":"^7.23.5","rollup-plugin-dts":"^6.1.0","eslint-plugin-jest":"^27.6.0","@rollup/plugin-babel":"^6.0.4","eslint-plugin-import":"^2.29.0","rollup-plugin-delete":"^2.0.0","@rollup/plugin-typescript":"^11.1.5","@typescript-eslint/parser":"^6.13.1","@rollup/plugin-node-resolve":"^15.2.3","@size-limit/preset-small-lib":"^10.0.3","@babel/plugin-transform-runtime":"^7.23.4","@typescript-eslint/eslint-plugin":"^6.13.1","babel-plugin-annotate-pure-calls":"^0.4.0","babel-plugin-polyfill-regenerator":"^0.5.3"},"_npmOperationalInternal":{"tmp":"tmp/tailwind-merge_2.0.0-dev.bf16993e2fff2cef0e4f5ad0b74fa497c8f731fa_1701431003084_0.7144739728649852","host":"s3://npm-registry-packages"},"publish_time":1701431003250,"_cnpm_publish_time":1701431003250,"dist-tags":{"dev":"3.0.2-dev.336458f49522f0d7574ffbdd33b9fef6a90b563e","latest":"3.0.2"}}