{"id":20881314,"url":"https://github.com/peakchen90/promise","last_synced_at":"2026-04-24T17:04:30.019Z","repository":{"id":44221093,"uuid":"131611038","full_name":"peakchen90/Promise","owner":"peakchen90","description":"write a promise polyfill","archived":false,"fork":false,"pushed_at":"2022-12-30T18:45:33.000Z","size":121,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-12T17:15:15.147Z","etag":null,"topics":["flow","jest","polyfill","promise","promisesaplus","rollup"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peakchen90.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-30T15:11:37.000Z","updated_at":"2022-04-02T02:19:05.000Z","dependencies_parsed_at":"2023-01-31T13:30:38.166Z","dependency_job_id":null,"html_url":"https://github.com/peakchen90/Promise","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/peakchen90/Promise","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peakchen90%2FPromise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peakchen90%2FPromise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peakchen90%2FPromise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peakchen90%2FPromise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peakchen90","download_url":"https://codeload.github.com/peakchen90/Promise/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peakchen90%2FPromise/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32232648,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["flow","jest","polyfill","promise","promisesaplus","rollup"],"created_at":"2024-11-18T07:24:28.469Z","updated_at":"2026-04-24T17:04:29.998Z","avatar_url":"https://github.com/peakchen90.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Promise\nwrite a promise polyfill.\n\n手写一个 Promise （实现 Promise/A+ 规范）\n\n## 工程概述\n- 使用 [Rollup](https://rollupjs.org) 进行 umd 模块打包 \n- 使用 [TypeScript](https://www.typescriptlang.org) 开发\n- 使用 [Tslint](https://palantir.github.io/tslint/) 进行代码风格检查\n\n## 参考\n- Promise 实现规范: [Promises/A+](https://promisesaplus.com/)\n- Promise 规范中文版: [Promise/A+规范](https://segmentfault.com/a/1190000002452115)\n- Promise 入门: [阮一峰ECMAScript 6 入门 —— Promise](http://es6.ruanyifeng.com/#docs/promise)\n- Promise 介绍: [JavaScript Promise迷你书（中文版）](http://liubin.org/promises-book/)\n- 参考实现1: [Github: promise-polyfill](https://github.com/taylorhakes/promise-polyfill/)\n- 参考实现2: [实现一个符合 Promise/A+ 规范的 MyPromise](https://juejin.im/post/5a5837946fb9a01ca871e5be)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeakchen90%2Fpromise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeakchen90%2Fpromise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeakchen90%2Fpromise/lists"}