{"id":28560151,"url":"https://github.com/dtstack/dt-utils","last_synced_at":"2025-06-10T09:07:41.142Z","repository":{"id":43713860,"uuid":"279203011","full_name":"DTStack/dt-utils","owner":"DTStack","description":"前端常用工具函数","archived":false,"fork":false,"pushed_at":"2025-05-26T01:09:43.000Z","size":933,"stargazers_count":34,"open_issues_count":2,"forks_count":18,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-29T09:13:33.503Z","etag":null,"topics":["javascript","toolkit","utils"],"latest_commit_sha":null,"homepage":"https://dtstack.github.io/dt-utils/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DTStack.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-07-13T03:43:01.000Z","updated_at":"2025-05-15T09:20:54.000Z","dependencies_parsed_at":"2024-01-30T00:01:30.229Z","dependency_job_id":"a454f107-b466-43b5-ad5c-bbe3cbff4c08","html_url":"https://github.com/DTStack/dt-utils","commit_stats":{"total_commits":156,"total_committers":17,"mean_commits":9.176470588235293,"dds":0.75,"last_synced_commit":"d329410dc99c8339ae37fca053225d4dd575088a"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DTStack%2Fdt-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DTStack%2Fdt-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DTStack%2Fdt-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DTStack%2Fdt-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DTStack","download_url":"https://codeload.github.com/DTStack/dt-utils/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DTStack%2Fdt-utils/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259043768,"owners_count":22797163,"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":["javascript","toolkit","utils"],"created_at":"2025-06-10T09:07:39.659Z","updated_at":"2025-06-10T09:07:41.116Z","avatar_url":"https://github.com/DTStack.png","language":"TypeScript","readme":"# dt-utils | \u003ca href=\"./docs/CHANGELOG.md\" target=\"_black\"\u003eCHANGELOG\u003c/a\u003e\n工具库\n## 安装依赖\n```bash\nnpm install @dtinsight/dt-utils\nyarn add @dtinsight/dt-utils\npnpm install @dtinsight/dt-utils\n```\n## 文档地址  \n  - [在线文档](https://dtstack.github.io/dt-utils/)\n  \n## 使用\n\n````js\n  import { Utils, Cookie, DateTime, Layout, CopyUtils, LocalIndexedDB, LocalDB } from '@dtinsight/dt-utils';\n````\n\n\n# 贡献指南\n\n欢迎大家参与贡献，本文将指导你如何贡献一份自己的力量，在提 issue 或者 pull request 之前，请花几分钟来阅读这篇指南。\n\n\n## 分支管理\n\n我们长期维护 master 分支，在创建分支前，请先了解一下分支规范。\n\n+ **master**： 主干分支，用于发包\n\n+ **feat**： 新特性分支\n\n+ **fix**： 常规 bug 修复分支\n\n\n## 新增功能\n\n如需开发功能，请遵循以下流程：\n\n1、请 `fork` 本项目，`clone` 自己的仓库，按照上述分支定义从 `master` 分支新建 `feat` 分支进行开发，分支命名用下划线加上版本号，如：`feat_1.x_xxx`\n\n2、`feat` 分支开发完毕后请向相应人员提 PR，期望合入 `master` 分支，待相应人员 review 代码后合入\n\n\n## Bugs\n\n我们使用 GitHub issues 来做 bug 追踪。\n\n如果你在使用中发现了 bug，请给我们提 issue。如果你想自行修复这个问题，请遵循以下流程：\n\n1、请从 **master** 分支中新建 **fix** 分支进行修复，分支命名用下划线加上版本号，如：**hotfix_1.x_xxx**\n\n2、相关问题修复完毕后请向相应人员提 PR，期望合入**master** 分支，待相应人员 review 代码后合入\n\n\n## 第一次贡献\n\n如果你还不清楚怎么在 GitHub 上提 Pull Request ，可以阅读下面这篇文章来学习：\n\n[如何优雅地在 GitHub 上贡献代码](https://segmentfault.com/a/1190000000736629)\n\n如果你打算开始处理一个 issue，请先检查一下 issue 下面的留言以确保没有别人正在处理这个 issue。如果当前没有人在处理的话你可以留言告知其他人你将会处理这个 issue，以免别人重复劳动。\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdtstack%2Fdt-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdtstack%2Fdt-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdtstack%2Fdt-utils/lists"}