{"name":"tailwind-merge","version":"1.12.0-dev.c87b26f901b2ae0caa74b153c2c33c35459708a2","keywords":["tailwindcss","tailwind","css","classes","className","classList","merge","conflict","override"],"author":{"name":"Dany Castillo"},"license":"MIT","_id":"tailwind-merge@1.12.0-dev.c87b26f901b2ae0caa74b153c2c33c35459708a2","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":"054d95e9b0d62e0e2bdccc12b89fe03ad3876816","tarball":"http://registry-npm.ywwl.com/tailwind-merge/download/tailwind-merge-1.12.0-dev.c87b26f901b2ae0caa74b153c2c33c35459708a2.tgz","fileCount":66,"integrity":"sha512-UEKfdQLUJ6ztqeW0zAKUs8QGnQewGKaZhzxvrupev8Bb+9htjj7JLk3Zl/oQtqUxLKV8XZjN/Ryys5Vay7wfOw==","signatures":[{"sig":"MEYCIQCYG4Hc50sqTKXsrTahm1rJS1hSJ+6CbDDSsgvBntUiyQIhAJR8m2v4lwFFCapIaB+eThAmogGC/yiplSTTE/J27USn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tailwind-merge@1.12.0-dev.c87b26f901b2ae0caa74b153c2c33c35459708a2","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"unpackedSize":758185,"size":131855,"noattachment":false,"key":"/tailwind-merge/-/tailwind-merge-1.12.0-dev.c87b26f901b2ae0caa74b153c2c33c35459708a2.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/c87b26f901b2ae0caa74b153c2c33c35459708a2/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/c87b26f901b2ae0caa74b153c2c33c35459708a2/docs/what-is-it-for.md)\n-   [Features](https://github.com/dcastil/tailwind-merge/tree/c87b26f901b2ae0caa74b153c2c33c35459708a2/docs/features.md)\n-   [Configuration](https://github.com/dcastil/tailwind-merge/tree/c87b26f901b2ae0caa74b153c2c33c35459708a2/docs/configuration.md)\n-   [Recipes](https://github.com/dcastil/tailwind-merge/tree/c87b26f901b2ae0caa74b153c2c33c35459708a2/docs/recipes.md)\n-   [API reference](https://github.com/dcastil/tailwind-merge/tree/c87b26f901b2ae0caa74b153c2c33c35459708a2/docs/api-reference.md)\n-   [Writing plugins](https://github.com/dcastil/tailwind-merge/tree/c87b26f901b2ae0caa74b153c2c33c35459708a2/docs/writing-plugins.md)\n-   [Versioning](https://github.com/dcastil/tailwind-merge/tree/c87b26f901b2ae0caa74b153c2c33c35459708a2/docs/versioning.md)\n-   [Contributing](https://github.com/dcastil/tailwind-merge/tree/c87b26f901b2ae0caa74b153c2c33c35459708a2/.github/CONTRIBUTING.md)\n-   [Similar packages](https://github.com/dcastil/tailwind-merge/tree/c87b26f901b2ae0caa74b153c2c33c35459708a2/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":"c87b26f901b2ae0caa74b153c2c33c35459708a2","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.6","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":"^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.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.c87b26f901b2ae0caa74b153c2c33c35459708a2_1684235447272_0.4162928787413489","host":"s3://npm-registry-packages"},"publish_time":1684235447420,"_cnpm_publish_time":1684235447420,"dist-tags":{"dev":"3.0.2-dev.336458f49522f0d7574ffbdd33b9fef6a90b563e","latest":"3.0.2"}}