{"name":"tailwind-merge","version":"1.12.0-dev.4bab65da6e0a1adc2a1916c5c33c95501bb44dac","keywords":["tailwindcss","tailwind","css","classes","className","classList","merge","conflict","override"],"author":{"name":"Dany Castillo"},"license":"MIT","_id":"tailwind-merge@1.12.0-dev.4bab65da6e0a1adc2a1916c5c33c95501bb44dac","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":"463208cc073a9e10ebb99168218738e4a6fb60cb","tarball":"http://registry-npm.ywwl.com/tailwind-merge/download/tailwind-merge-1.12.0-dev.4bab65da6e0a1adc2a1916c5c33c95501bb44dac.tgz","fileCount":66,"integrity":"sha512-Vl5s4UE7NJ6x6A0qt0pRPUARtcTI6b/3GC+qn+5Gcp4OdRa/rw1OHSIo6zZUhT9qrJKmcdtnzgc7CTsJXQqBQg==","signatures":[{"sig":"MEUCIDbu0X27j8HOOxCSuCa2VDS6bUlTjrrn83Od1tq+t0HsAiEA61nPovFtsalaclNcmPunws8V2/5S6adVSLILOPSlBGA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tailwind-merge@1.12.0-dev.4bab65da6e0a1adc2a1916c5c33c95501bb44dac","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\nwsFzBAEBCAAGBQJkUNwDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrOPw/9HOa95oxQwZN12+ktVnvvQZycnWSHzfu6ZvWmbYJzk4/q9SvA\r\n4Yvsxk8IipcNdpoj6ugieusrV36QSJf/MnSv4Yo9iQtaTS3333l+xmhzVNTQ\r\nojmPZ+213Pj7OmhVlXtjCPCqmTIs+dkf9Jjkxr/RvlIOKHwOtJ0DQv1hKQ6f\r\nvEfcdq/5JT04Rbrqom8RENy+68byeRDGbFxGNNxPD/DoTL6S8ylHHZdBVtv1\r\nsqX+TxGk7Vh1AdiNhH717DBfNSUruug/FRE1OSlbF+oulPVVk9dA95b63h24\r\n86A8nrMvBJGORGDEH7AJelq28MWVMTLK4F2qsk6dl7fDpfSAry18sS+7JHm9\r\nxkA6XSrUZ34cLPqOdUGWJcSInSJyyoAQMQipJ9w2ZVPZsQi9T4ZA5fsf+we9\r\nf0jppU+qaF7NXnnqV3mGFzZ2OquNeeeyVCKHUXtxl63q8fPCzUcE5zNeXdvG\r\nmGnfRPGbqKYlv6DmqlGKtR5EPN0RXXcIIjIZbQGS2SlGvz0vU5ZqlIhIME5d\r\nidC4jUWFCegxK3I5B31Q2yLWgvzobKn3y5ICICMw71dSTMG8i2D9HhusrnPV\r\nZUIs7oJXUTHTqhHPhc3l/oDmY2FWtLxEKCjz6jr/j+UJ1ks7vBA+zibZa4Po\r\nqVMigfhdukqE7PRfX2Byb20pNYdSTh2xkVw=\r\n=MTHy\r\n-----END PGP SIGNATURE-----\r\n","size":132114,"noattachment":false,"key":"/tailwind-merge/-/tailwind-merge-1.12.0-dev.4bab65da6e0a1adc2a1916c5c33c95501bb44dac.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/4bab65da6e0a1adc2a1916c5c33c95501bb44dac/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/4bab65da6e0a1adc2a1916c5c33c95501bb44dac/docs/what-is-it-for.md)\n-   [Features](https://github.com/dcastil/tailwind-merge/tree/4bab65da6e0a1adc2a1916c5c33c95501bb44dac/docs/features.md)\n-   [Configuration](https://github.com/dcastil/tailwind-merge/tree/4bab65da6e0a1adc2a1916c5c33c95501bb44dac/docs/configuration.md)\n-   [Recipes](https://github.com/dcastil/tailwind-merge/tree/4bab65da6e0a1adc2a1916c5c33c95501bb44dac/docs/recipes.md)\n-   [API reference](https://github.com/dcastil/tailwind-merge/tree/4bab65da6e0a1adc2a1916c5c33c95501bb44dac/docs/api-reference.md)\n-   [Writing plugins](https://github.com/dcastil/tailwind-merge/tree/4bab65da6e0a1adc2a1916c5c33c95501bb44dac/docs/writing-plugins.md)\n-   [Versioning](https://github.com/dcastil/tailwind-merge/tree/4bab65da6e0a1adc2a1916c5c33c95501bb44dac/docs/versioning.md)\n-   [Contributing](https://github.com/dcastil/tailwind-merge/tree/4bab65da6e0a1adc2a1916c5c33c95501bb44dac/.github/CONTRIBUTING.md)\n-   [Similar packages](https://github.com/dcastil/tailwind-merge/tree/4bab65da6e0a1adc2a1916c5c33c95501bb44dac/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":"4bab65da6e0a1adc2a1916c5c33c95501bb44dac","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.4bab65da6e0a1adc2a1916c5c33c95501bb44dac_1683020803132_0.9819852418325261","host":"s3://npm-registry-packages"},"publish_time":1683020803333,"_cnpm_publish_time":1683020803333,"dist-tags":{"dev":"3.0.2-dev.336458f49522f0d7574ffbdd33b9fef6a90b563e","latest":"3.0.2"}}