{"id":13712518,"url":"https://github.com/bitbar/deferred-promise","last_synced_at":"2025-05-06T22:31:15.857Z","repository":{"id":143735627,"uuid":"205832225","full_name":"bitbar/deferred-promise","owner":"bitbar","description":"Simple port of jQuery Deffered() based on native Promise","archived":true,"fork":false,"pushed_at":"2019-09-02T14:11:47.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T05:07:49.233Z","etag":null,"topics":["deferred","deferred-promise","javascript","nodejs","promise","promises"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitbar.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":"2019-09-02T10:24:30.000Z","updated_at":"2024-07-09T08:37:44.000Z","dependencies_parsed_at":"2023-08-19T06:15:18.075Z","dependency_job_id":null,"html_url":"https://github.com/bitbar/deferred-promise","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbar%2Fdeferred-promise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbar%2Fdeferred-promise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbar%2Fdeferred-promise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbar%2Fdeferred-promise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitbar","download_url":"https://codeload.github.com/bitbar/deferred-promise/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252280923,"owners_count":21723056,"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":["deferred","deferred-promise","javascript","nodejs","promise","promises"],"created_at":"2024-08-02T23:01:19.396Z","updated_at":"2025-05-06T22:31:15.389Z","avatar_url":"https://github.com/bitbar.png","language":"JavaScript","funding_links":[],"categories":["By Technology"],"sub_categories":["JavaScript"],"readme":"# Deferred Promise\n\nSimple jQuery `Deferred()` port using native `Promise`.\n\n## Install\n\n```sh\nnpm install --save @bitbar/deferred-promise\n```\n\n## Use\n\n```js\nconst DeferredPromise = require('@bitbar/deferred-promise');\n\nconst first = new DeferredPromise();\nconst second = new DeferredPromise();\n\nfirst.then( () =\u003e console.log('O, hello!') );\nsecond.then( () =\u003e console.log('Yupi!') );\n\nPromise.all([ first, second ]).then( () =\u003e console.log('Ow yeah!') );\n\nsetTimeout(first.resolve, 1000);\nsecond.resolve();\n\n```\n\n## License\n\nThis project is using [ISC license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitbar%2Fdeferred-promise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitbar%2Fdeferred-promise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitbar%2Fdeferred-promise/lists"}