{"id":25098367,"url":"https://github.com/supercll/es3-promise","last_synced_at":"2025-10-05T09:56:18.914Z","repository":{"id":124739357,"uuid":"300177663","full_name":"supercll/es3-promise","owner":"supercll","description":"The Promise realized using ES3 syntax","archived":false,"fork":false,"pushed_at":"2020-10-01T08:18:34.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T04:11:25.489Z","etag":null,"topics":["es3","javscript","promise-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/supercll.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-01T06:53:13.000Z","updated_at":"2020-10-08T07:40:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"afa55efc-a0f4-45ba-a68c-34b9ab897880","html_url":"https://github.com/supercll/es3-promise","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/supercll/es3-promise","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supercll%2Fes3-promise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supercll%2Fes3-promise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supercll%2Fes3-promise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supercll%2Fes3-promise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/supercll","download_url":"https://codeload.github.com/supercll/es3-promise/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supercll%2Fes3-promise/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278437950,"owners_count":25986760,"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-10-05T02:00:06.059Z","response_time":54,"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":["es3","javscript","promise-api"],"created_at":"2025-02-07T18:31:15.643Z","updated_at":"2025-10-05T09:56:18.888Z","avatar_url":"https://github.com/supercll.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# es3-promise\nThe Promise realized using ES3 syntax\n# 目的\n- 理解promise A+ 规范\n- 向下兼容老版本浏览器\n# 介绍\n- 全程使用es3语法\n- 实现Prmoise\n- Promise.resolve/Promise.reject\n- 完整实现Promise.then\n- Promise.catch\n- Promise.all\n- 实现各种兼容处理\n# 如何使用\nnode端和浏览器端皆可使用\n只需引入cpromise.js即可\n\n```\nimport \"cpromise.js\"\nor \n\u003cscript src=\"cpromise.js\"\u003e\u003cscript\u003e\nor\nvar {CPromise} = require(\"cpromise.js\")\n```\n  \n\n使用方法和原生promise完全一致\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupercll%2Fes3-promise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupercll%2Fes3-promise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupercll%2Fes3-promise/lists"}