{"id":16594871,"url":"https://github.com/symind/mpromisify","last_synced_at":"2025-10-29T12:30:27.930Z","repository":{"id":45100867,"uuid":"490272487","full_name":"SyMind/mpromisify","owner":"SyMind","description":"用于小程序的 promisify 方法，具有完备的 TypeScript 类型推导。","archived":false,"fork":false,"pushed_at":"2022-07-13T00:53:59.000Z","size":39,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-09-14T12:04:34.256Z","etag":null,"topics":[],"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/SyMind.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}},"created_at":"2022-05-09T12:26:04.000Z","updated_at":"2024-05-11T12:25:21.000Z","dependencies_parsed_at":"2022-07-13T08:21:26.490Z","dependency_job_id":null,"html_url":"https://github.com/SyMind/mpromisify","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyMind%2Fmpromisify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyMind%2Fmpromisify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyMind%2Fmpromisify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyMind%2Fmpromisify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SyMind","download_url":"https://codeload.github.com/SyMind/mpromisify/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219857791,"owners_count":16556055,"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-11T23:47:45.986Z","updated_at":"2025-10-29T12:30:27.636Z","avatar_url":"https://github.com/SyMind.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mpromisify\n\n用于小程序的 promisify 方法，具有完备的 TypeScript 类型推导。\n\n## 安装与使用\n\n```bash\npnpm install mpromisify\n```\n\n在百度小程序中：\n\n```typescript\nimport promisify from 'mpromisify'\n\npromisify(swan.getStorage)({key: 'hello'})\n    .then(res =\u003e console.log(res))\n    .catch(err =\u003e console.error(err))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymind%2Fmpromisify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsymind%2Fmpromisify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymind%2Fmpromisify/lists"}