{"id":28713207,"url":"https://github.com/andreaspitzer/promise-spread","last_synced_at":"2025-06-15T00:08:27.403Z","repository":{"id":57331462,"uuid":"51063934","full_name":"andreaspitzer/promise-spread","owner":"andreaspitzer","description":"spread() for native ES6 Promises","archived":false,"fork":false,"pushed_at":"2020-05-23T12:07:02.000Z","size":18,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-12T18:16:31.998Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/andreaspitzer.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":"2016-02-04T08:59:58.000Z","updated_at":"2016-02-29T11:03:31.000Z","dependencies_parsed_at":"2022-09-21T03:03:14.656Z","dependency_job_id":null,"html_url":"https://github.com/andreaspitzer/promise-spread","commit_stats":null,"previous_names":["andreaspitzer/promise-spread","andreaspizsa/promise-spread"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/andreaspitzer/promise-spread","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreaspitzer%2Fpromise-spread","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreaspitzer%2Fpromise-spread/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreaspitzer%2Fpromise-spread/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreaspitzer%2Fpromise-spread/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreaspitzer","download_url":"https://codeload.github.com/andreaspitzer/promise-spread/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreaspitzer%2Fpromise-spread/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259901379,"owners_count":22929224,"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":"2025-06-15T00:08:26.084Z","updated_at":"2025-06-15T00:08:27.390Z","avatar_url":"https://github.com/andreaspitzer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# promise-spread ![Travis](https://img.shields.io/travis/AndreasPizsa/promise-spread.svg?style=flat-square) ![Coverage Status](https://img.shields.io/coveralls/AndreasPizsa/promise-spread.svg?style=flat-square) ![Downloads](https://img.shields.io/npm/dm/promise-spread.svg?style=flat-square)\n\n\u003e `spread()` for native ES6 Promises\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i promise-spread --save\n```\n\n## Usage\n\n#### with `any-promise`\n\n```js\nvar Promise = require('any-promise');\nrequire('promise-spread')(Promise);\n```\n\n#### with native Promises\n\n```js\nrequire('promise-spread');\n```\n\n## Alternatives to using `spread()`\n\nES6 introduces [destructuring](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment) and the [rest/spread operator](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Operators/Spread_operator), which eliminate the need for `spread` outright. ([Kris Kowal](http://stackoverflow.com/questions/22773920/can-promises-have-multiple-arguments-to-onfulfilled#comment34766222_22776850))\n\n```javascript\n.then(([a, b, c]) =\u003e {});\n```\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d \u0026\u0026 npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/AndreasPizsa/promise-spread/issues/new).\n\n## Author\n\n**Andreas Pizsa**\n\n+ [github/AndreasPizsa](https://github.com/AndreasPizsa)\n+ [twitter/AndreasPizsa](http://twitter.com/AndreasPizsa)\n\nBased on code by [Benjamin Gruenbaum](https://github.com/benjamingr)'s [answer on StackOverflow](http://stackoverflow.com/a/22776850/199263)\n\n## License\n\nCopyright © 2016 Andreas Pizsa\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on February 04, 2016._","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreaspitzer%2Fpromise-spread","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreaspitzer%2Fpromise-spread","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreaspitzer%2Fpromise-spread/lists"}