{"id":24112495,"url":"https://github.com/rmznkapar/winc","last_synced_at":"2026-05-08T06:05:44.766Z","repository":{"id":65429410,"uuid":"565102876","full_name":"rmznkapar/winc","owner":"rmznkapar","description":"A simple utility for conditionally joining class names together","archived":false,"fork":false,"pushed_at":"2023-04-05T04:05:53.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-23T06:19:04.982Z","etag":null,"topics":["classname","css","tailwind"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rmznkapar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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":"2022-11-12T10:55:57.000Z","updated_at":"2022-11-17T19:00:36.000Z","dependencies_parsed_at":"2024-11-20T04:21:36.190Z","dependency_job_id":null,"html_url":"https://github.com/rmznkapar/winc","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"94abd8c2a818ace052e44e9404847dc504284f56"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rmznkapar/winc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmznkapar%2Fwinc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmznkapar%2Fwinc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmznkapar%2Fwinc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmznkapar%2Fwinc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rmznkapar","download_url":"https://codeload.github.com/rmznkapar/winc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmznkapar%2Fwinc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32769110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T02:36:36.067Z","status":"ssl_error","status_checked_at":"2026-05-08T02:36:07.210Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["classname","css","tailwind"],"created_at":"2025-01-11T03:31:57.657Z","updated_at":"2026-05-08T06:05:44.730Z","avatar_url":"https://github.com/rmznkapar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# winc\nA simple utility for conditionally joining class names together\n\n\n## Usage\n\n```js\nimport winc from 'winc';\n\n\nwinc(\"tag bg-primary\", [true, \"text-white\", \"text-primary bg-opacity-30\"])\n//=\u003e 'tag bg-primary text-white'\n\nwinc(\"tag bg-primary\", [true, \"text-white\", \"text-primary bg-opacity-30\"])\n//=\u003e 'p-4'\n\nwinc(\"mb-2 font-bold\", ['', \"text-lg\", \"text-sm\"])\n//=\u003e 'mb-2 font-bold text-sm'\n\nwinc([{ users: [] }, \"relative\", \"absolute\"])\n//=\u003e 'relative'\n\nwinc([true, \"bottom-0\", \"bottom-32\"])\n//=\u003e 'bottom-0'\n\nwinc([{ absolute: true, \"text-error\": false, \"font-bold\": true })\n//=\u003e 'absolute font-bold'\n\nwinc([false, \"text-success\", \"text-error\"], { absolute: true })\n//=\u003e 'text-error absolute'\n\nwinc(false ? \"block\" : \"opacity-0 hidden\", \"mt-2\")\n//=\u003e 'opacity-0 hidden mt-2'\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmznkapar%2Fwinc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frmznkapar%2Fwinc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmznkapar%2Fwinc/lists"}