{"full_name":"lukeed/clsx","owner":"lukeed","name":"clsx","shard":"1","url":"https://github.com/lukeed/clsx","description":"A tiny (239B) utility for constructing `className` strings conditionally.","homepage":"","topics":[],"tag_pages":[],"language":"JavaScript","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/5855893?u=051e349a2e0f30ca6145a6f73e11aaee09cc5354&v=4","created_at":"2018-12-24T22:33:11Z","pushed_at":"2024-06-10T15:48:22Z","metrics":{"stars":9847,"forks":189,"watchers":16,"issues":62,"prs":65,"releases":12,"issues_open":8,"issues_closed":54,"prs_open":8,"prs_closed":44,"prs_merged":13,"discussions":0},"growth":{"day":{"stars":-1,"forks":0,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[9845,9845,9845,9846,9847,9848,9847],"forks":[188,189,189,189,189,189,189],"watchers":[null,16,16,16,16,16,16],"issues_open":[null,8,8,8,8,8,8],"prs_open":[null,8,8,8,8,8,8]},"boards":{},"same_owner":[{"full_name":"lukeed/polka","name":"polka","shard":"1","boards":{}}],"issues":[{"number":81,"title":"Congrats!","comments":4,"created_at":"2023-09-27T11:23:52Z"},{"number":101,"title":"Feature Request: Enhanced Responsive Classnames Support","comments":3,"created_at":"2024-07-03T08:50:07Z"},{"number":92,"title":"Cannot find module 'clsx/lite' or its corresponding type declarations","comments":3,"created_at":"2024-03-24T18:04:02Z"},{"number":112,"title":"Performance check:  Current code might be 6% or so slower that can be","comments":2,"created_at":"2025-10-08T20:27:50Z"},{"number":100,"title":"Add detailed documentation","comments":1,"created_at":"2024-06-19T10:44:59Z"},{"number":52,"title":"Add support for objects with `toString` methods","comments":1,"created_at":"2022-09-21T19:03:10Z"},{"number":111,"title":"Feature: clsx.arr() to return class names in array format","comments":0,"created_at":"2025-10-08T20:01:48Z"},{"number":97,"title":"`./node_modules/clsx/dist/clsx.m.js` Module build failed: Error: ENOENT: no such file or directory","comments":0,"created_at":"2024-04-19T09:38:44Z"}],"discussions":[],"latest_release":{"name":"v2.1.1","tag":"v2.1.1","published_at":"2024-04-23T05:29:52Z","body":"## Patches\r\n\r\n* (types) Include `bigint` in `ClassValue` type: (#96): 3d960ab\r\n    _Accommodates recent `@types/react` changes to `ReactNode`._\r\n    _Thank you @ViliamKopecky~!_\r\n\r\n## Chores\r\n\r\n- Add [`licenses.dev`](https://licenses.dev) badge: 684509c\r\n    _This service recursively analyzes entire dependency graphs to ensure that a package (or your project) is using permissive licenses. For example, here's a results table for [`polka@next`](https://licenses.dev/npm/polka/1.0.0-next.24) and a larger [`astro`](https://licenses.dev/npm/astro) example._\r\n\r\n---\r\n\r\n> **Full Changelog**: https://github.com/lukeed/clsx/compare/v2.1.0...v2.1.1","is_prerelease":false},"readme":false,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}