{"id":27950931,"url":"https://github.com/joye61/clxx","last_synced_at":"2025-08-02T20:34:47.297Z","repository":{"id":46226460,"uuid":"159646286","full_name":"joye61/clxx","owner":"joye61","description":"Some lightweight H5 components and features","archived":false,"fork":false,"pushed_at":"2023-04-24T12:37:30.000Z","size":22448,"stargazers_count":100,"open_issues_count":0,"forks_count":18,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-09T11:56:27.018Z","etag":null,"topics":["css-in-js","react","typescript"],"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/joye61.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":"2018-11-29T10:09:31.000Z","updated_at":"2025-06-25T06:39:42.000Z","dependencies_parsed_at":"2024-06-20T21:50:06.590Z","dependency_job_id":"9b11d005-1900-49cc-9035-b9c5fb8f03bb","html_url":"https://github.com/joye61/clxx","commit_stats":{"total_commits":301,"total_committers":5,"mean_commits":60.2,"dds":"0.13953488372093026","last_synced_commit":"834385bff0c378646bb482fba3936e92137d3b1f"},"previous_names":["joye61/cl-utils"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/joye61/clxx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joye61%2Fclxx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joye61%2Fclxx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joye61%2Fclxx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joye61%2Fclxx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joye61","download_url":"https://codeload.github.com/joye61/clxx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joye61%2Fclxx/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267867819,"owners_count":24157356,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["css-in-js","react","typescript"],"created_at":"2025-05-07T16:16:20.048Z","updated_at":"2025-08-02T20:34:47.274Z","avatar_url":"https://github.com/joye61.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# v2.0.8\n\n## 功能函数\n\n- [`ago`](./src/Ago/index.tsx)：显示多久以前\n- [`calendarTable`](./src/utils/calendarTable.ts)：创建一个月历视图的原始数据表\n- [`Countdown`](./src/utils/Countdown.ts)：倒计时器，最大可以到天\n- [`createApp`](./src/utils/createApp.tsx)：创建一个带路由的 APP 对象，这是个非常实用的功能函数\n- [`defaultScroll`](./src/utils/defaultScroll.ts)：禁用和启用默认滚动\n- [`createPortalDOM`](./src/utils/dom.tsx)：任意位置创建一个 DOM 节点，用来挂载和卸载 React 组件\n- [`is`](./src/utils/is.ts)：一些简单的环境判断\n- [`jsonp`](./src/utils/jsonp.ts)：发送一个 jsonp 请求\n- [`GET，POST`](./src/utils/request.ts)：ajax 请求的简单封装\n- [`tick`](./src/utils/tick.ts)：嘀嗒器，每帧都会执行\n- [`uniqKey`](./src/utils/uniqKey.ts)：生成一个全局唯一的 key\n- [`waitUntil`](./src/utils/wait.ts)：执行某种检测，直接条件为真或者超时才返回\n\n## 基础组件\n\n- [`\u003cAgo\u003e`](./src/Ago/index.tsx)：显示多久以前\n- [`\u003cAutoGrid\u003e`](./src/AutoGrid/index.tsx)：里面的对象会自动网格排列\n- [`\u003cCarouselNotice\u003e`](./src/CarouselNotice/index.tsx)：滚动走马灯\n- [`\u003cClickable\u003e`](./src/Clickable/index.tsx)：一个可点击的对象\n- [`\u003cContainer\u003e`](./src/Container/index.tsx)：这是一个全局容器，主要设置移动端环境，自适应等逻辑\n- [`\u003cCountdowner\u003e`](./src/Countdowner/index.tsx)：倒计时器\n- [`\u003cRow\u003e|\u003cRowStart\u003e|\u003cRowEnd\u003e|\u003cRowBetween\u003e|\u003cRowCenter\u003e|\u003cRowAround\u003e|\u003cRowEvenly\u003e`](./src/Flex/Row.tsx)：水平弹性布局\n- [`\u003cCol\u003e|\u003cColStart\u003e|\u003cColEnd\u003e|\u003cColBetween\u003e|\u003cColCenter\u003e|\u003cColAround\u003e|\u003cColEvenly\u003e`](./src/Flex/Col.tsx)：垂直弹性布局\n- [`\u003cIndicator\u003e`](./src/Indicator/index.tsx)：转动的菊花，用来作为Loading组件的一部分\n- [`\u003cOverlay\u003e`](./src/Overlay/index.tsx)：一个全屏覆盖框，会覆盖可操作区域\n- [`\u003cSafeArea\u003e`](./src/SafeArea/index.tsx)：这个组件会自动剔除手机的非操作区域\n- [`\u003cScrollView\u003e`](./src/ScrollView/index.tsx)：滚动容器，自带原生滚动条\n- [`showDialog`](./src/Dialog/index.tsx)：函数式调用，显示一个弹框组件\n- [`showAlert`](./src/Alert/index.tsx)：函数式调用，模拟`window.alert`，但UI可定制\n- [`showToast|showUniqToast`](./src/Toast/index.tsx)：函数式调用，显示一个Toast组件\n- [`showLoading|showLoadingAtLeast`](./src/Loading/index.tsx)：函数式调用，显示一个Loading组件\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoye61%2Fclxx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoye61%2Fclxx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoye61%2Fclxx/lists"}