{"id":16550864,"url":"https://github.com/tmaize/common-kit","last_synced_at":"2026-05-08T11:40:44.369Z","repository":{"id":43173147,"uuid":"268823614","full_name":"TMaize/common-kit","owner":"TMaize","description":"JavaScript 常用工具方法集合","archived":false,"fork":false,"pushed_at":"2023-03-14T22:11:08.000Z","size":343,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T11:41:47.198Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/TMaize.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":"2020-06-02T14:29:28.000Z","updated_at":"2022-03-15T13:38:58.000Z","dependencies_parsed_at":"2024-10-22T15:24:08.454Z","dependency_job_id":null,"html_url":"https://github.com/TMaize/common-kit","commit_stats":{"total_commits":11,"total_committers":2,"mean_commits":5.5,"dds":"0.36363636363636365","last_synced_commit":"a2b0ece7fcfe13c578fdf5c5464edca97e7241bf"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TMaize%2Fcommon-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TMaize%2Fcommon-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TMaize%2Fcommon-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TMaize%2Fcommon-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TMaize","download_url":"https://codeload.github.com/TMaize/common-kit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241871392,"owners_count":20034452,"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-10-11T19:35:38.388Z","updated_at":"2026-05-08T11:40:44.306Z","avatar_url":"https://github.com/TMaize.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# common-kit\r\n\r\nJavaScript 常用工具方法集合\r\n\r\n[![NPM Description](https://nodei.co/npm/common-kit.png?downloads=true\u0026stars=true)](https://npmjs.org/package/common-kit)\r\n\r\n## 安装\r\n\r\n浏览器\r\n\r\n[https://unpkg.com/browse/common-kit/dist/kit.min.js](https://unpkg.com/browse/common-kit/dist/kit.min.js)\r\n\r\nNodejs\r\n\r\n```sh\r\nnpm i common-kit -S\r\n\r\n# import kit from 'common-kit/index'\r\n# import base64 from 'common-kit/lib/base64/index'\r\n```\r\n\r\n## 方法\r\n\r\n支持中文，和后端结果一致\r\n\r\n```js\r\nkit.base64.encode('你好 kit')\r\nkit.base64.decode('5L2g5aW9IGtpdA==')\r\nkit.md5.digest('你好 kit')\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmaize%2Fcommon-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmaize%2Fcommon-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmaize%2Fcommon-kit/lists"}