{"id":20797172,"url":"https://github.com/daniguardiola/tw-merge","last_synced_at":"2025-08-31T03:39:03.009Z","repository":{"id":161871999,"uuid":"636507352","full_name":"DaniGuardiola/tw-merge","owner":"DaniGuardiola","description":"Merge utility classes without style conflicts","archived":false,"fork":false,"pushed_at":"2023-05-14T12:15:04.000Z","size":103224,"stargazers_count":17,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-06T18:18:17.705Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/tailwind-merge","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"dcastil/tailwind-merge","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DaniGuardiola.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-05T02:18:31.000Z","updated_at":"2024-08-31T19:05:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"ff0d3a9c-587a-46f5-9b1d-ccad1abbb0a8","html_url":"https://github.com/DaniGuardiola/tw-merge","commit_stats":null,"previous_names":["compi-ui/tw-merge"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaniGuardiola%2Ftw-merge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaniGuardiola%2Ftw-merge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaniGuardiola%2Ftw-merge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaniGuardiola%2Ftw-merge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DaniGuardiola","download_url":"https://codeload.github.com/DaniGuardiola/tw-merge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252741483,"owners_count":21797030,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T16:32:51.354Z","updated_at":"2025-05-06T18:18:22.160Z","avatar_url":"https://github.com/DaniGuardiola.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IMPORTANT NOTE: this package is a fork in development and ALL of the documentation has not been updated yet\n\n\u003cdiv align=\"center\"\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/compi-ui/tw-merge\"\u003e\n        \u003c!-- AUTOGENERATED VERSION START --\u003e\n        \u003cimg src=\"https://github.com/compi-ui/tw-merge/raw/v0.0.1-alpha.0/assets/logo.svg\" alt=\"tailwind-merge\" height=\"150px\" /\u003e\n        \u003c!-- AUTOGENERATED END --\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\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/compi-ui/tw-merge/tree/v0.9.0))\n- Works in all modern browsers and Node \u003e=12\n- Fully typed\n- [Check bundle size on Bundlephobia](https://bundlephobia.com/package/tailwind-merge)\n\n## Get started\n\n\u003c!-- AUTOGENERATED VERSION START --\u003e\n\n- [What is it for](https://github.com/compi-ui/tw-merge/tree/v0.0.1-alpha.0/docs/what-is-it-for.md)\n- [Features](https://github.com/compi-ui/tw-merge/tree/v0.0.1-alpha.0/docs/features.md)\n- [Configuration](https://github.com/compi-ui/tw-merge/tree/v0.0.1-alpha.0/docs/configuration.md)\n- [Recipes](https://github.com/compi-ui/tw-merge/tree/v0.0.1-alpha.0/docs/recipes.md)\n- [API reference](https://github.com/compi-ui/tw-merge/tree/v0.0.1-alpha.0/docs/api-reference.md)\n- [Writing plugins](https://github.com/compi-ui/tw-merge/tree/v0.0.1-alpha.0/docs/writing-plugins.md)\n- [Versioning](https://github.com/compi-ui/tw-merge/tree/v0.0.1-alpha.0/docs/versioning.md)\n- [Contributing](https://github.com/compi-ui/tw-merge/tree/v0.0.1-alpha.0/.github/CONTRIBUTING.md)\n- [Similar packages](https://github.com/compi-ui/tw-merge/tree/v0.0.1-alpha.0/docs/similar-packages.md)\n\n\u003c!-- AUTOGENERATED END --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniguardiola%2Ftw-merge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaniguardiola%2Ftw-merge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniguardiola%2Ftw-merge/lists"}