{"id":16485856,"url":"https://github.com/creeperyang/promise-a-plus","last_synced_at":"2025-03-23T12:33:17.564Z","repository":{"id":33409144,"uuid":"37054356","full_name":"creeperyang/promise-a-plus","owner":"creeperyang","description":"A JavaScript Promise/A+ Library.","archived":false,"fork":false,"pushed_at":"2017-10-18T11:35:04.000Z","size":20,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-14T01:06:50.127Z","etag":null,"topics":["promise-library","promises-aplus"],"latest_commit_sha":null,"homepage":null,"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/creeperyang.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":"2015-06-08T08:16:13.000Z","updated_at":"2017-10-18T11:46:21.000Z","dependencies_parsed_at":"2022-09-07T02:20:21.124Z","dependency_job_id":null,"html_url":"https://github.com/creeperyang/promise-a-plus","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/creeperyang%2Fpromise-a-plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creeperyang%2Fpromise-a-plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creeperyang%2Fpromise-a-plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creeperyang%2Fpromise-a-plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/creeperyang","download_url":"https://codeload.github.com/creeperyang/promise-a-plus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221850800,"owners_count":16891677,"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":["promise-library","promises-aplus"],"created_at":"2024-10-11T13:27:30.952Z","updated_at":"2024-10-28T15:49:12.163Z","avatar_url":"https://github.com/creeperyang.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# promise-a-plus\n\n[![npm version](https://badge.fury.io/js/promise-a-plus.svg)](https://badge.fury.io/js/promise-a-plus)\n[![Build Status](https://travis-ci.org/creeperyang/promise-a-plus.svg?branch=master)](https://travis-ci.org/creeperyang/promise-a-plus)\n[![Coverage Status](https://coveralls.io/repos/github/creeperyang/promise-a-plus/badge.svg?branch=master)](https://coveralls.io/github/creeperyang/promise-a-plus?branch=master)\n[![Dependency Status](https://david-dm.org/creeperyang/promise-a-plus.svg)](https://david-dm.org/creeperyang/promise-a-plus)\n[![devDependency Status](https://david-dm.org/creeperyang/promise-a-plus/dev-status.svg)](https://david-dm.org/creeperyang/promise-a-plus#info=devDependencies)\n[![npm](https://img.shields.io/npm/dm/promise-a-plus.svg)](https://www.npmjs.com/package/promise-a-plus)\n\n\u003ca href=\"https://promisesaplus.com/\"\u003e\n    \u003cimg src=\"https://promisesaplus.com/assets/logo-small.png\" alt=\"Promises/A+ logo\" title=\"Promises/A+ 1.0 compliant\" align=\"right\" /\u003e\n\u003c/a\u003e\n\nThis is a JavaScript implementation of [*Promises/A+* spec](https://github.com/promises-aplus/promises-spec), and adequately tested.\n\nAlso a full featured polyfill for *ES6 Promise*.\n\n\n## Install\n\n[![NPM](https://nodei.co/npm/promise-a-plus.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/promise-a-plus/)\n\n## Usage\n\n```js\nvar Promise = require('promise-a-plus');\n\nvar promise1 = Promise.resolve('nice');\nvar promise2 = new Promise(function(resolve, reject) {\n   reject('just rejected');\n});\nPromise.race([promise1, promise2]).then(console.log.bind(console));\n```\n\nIf you want to use in browser, use tools like `webpack` or `browserify`.\n\n## API\n\nThe library's API is absolutely consistent with [official API](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise).\n\nAlso view [wiki](https://github.com/creeperyang/promise-a-plus/wiki/API).\n\n## License\nCopyright (c) 2015 creeperyang. Licensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreeperyang%2Fpromise-a-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcreeperyang%2Fpromise-a-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreeperyang%2Fpromise-a-plus/lists"}