{"id":19135363,"url":"https://github.com/imiric/es6-promise","last_synced_at":"2026-06-20T13:31:15.257Z","repository":{"id":146330180,"uuid":"17227961","full_name":"imiric/es6-promise","owner":"imiric","description":"A polyfill for ES6-style Promises, tracking rsvp","archived":false,"fork":false,"pushed_at":"2014-02-26T22:27:29.000Z","size":108,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-13T07:45:21.197Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/imiric.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":"2014-02-26T22:27:07.000Z","updated_at":"2014-03-15T21:23:35.000Z","dependencies_parsed_at":"2023-05-25T09:00:41.306Z","dependency_job_id":null,"html_url":"https://github.com/imiric/es6-promise","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/imiric/es6-promise","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imiric%2Fes6-promise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imiric%2Fes6-promise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imiric%2Fes6-promise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imiric%2Fes6-promise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imiric","download_url":"https://codeload.github.com/imiric/es6-promise/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imiric%2Fes6-promise/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34572423,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"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":[],"created_at":"2024-11-09T06:29:58.474Z","updated_at":"2026-06-20T13:31:15.240Z","avatar_url":"https://github.com/imiric.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ES6-Promises\n\nThis is a polyfill of\n[ES6 Promises](https://github.com/domenic/promises-unwrapping). The implementation\nis basically an API remapping of [rsvp.js](https://github.com/tildeio/rsvp.js).\n\nFor API details and how to use promises, see the\n[JavaScript Promises HTML5Rocks article](http://www.html5rocks.com/en/tutorials/es6/promises/).\n\nThis repo is a [component(1)](http://component.io) wrapper around the work\n@jakearchibald did at the\n[original repo](https://github.com/jakearchibald/es6-promise). All credit goes\nout to him.\n\n## Installation\n\n  Install with [component(1)](http://component.io):\n\n    $ component install imiric/es6-promise\n\n## API\n\n```js\nvar promise = require('es6-promise');\npromise.polyfill();  // setup polyfill or fallback to native implementation\n// use as per the spec\nvar p = new Promise(function(resolve, reject) {\n  // do a thing, possibly async, then...\n\n  if (/* everything turned out fine */) {\n    resolve(\"Stuff worked!\");\n  }\n  else {\n    reject(Error(\"It broke\"));\n  }\n});\n```\n\n## License\n\n  [MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimiric%2Fes6-promise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimiric%2Fes6-promise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimiric%2Fes6-promise/lists"}