{"id":20569610,"url":"https://github.com/xiaody/in-promise","last_synced_at":"2025-03-06T09:42:10.782Z","repository":{"id":34930552,"uuid":"39000533","full_name":"xiaody/in-promise","owner":"xiaody","description":"A minimal Promises/A+ implementation for browsers","archived":false,"fork":false,"pushed_at":"2017-04-01T06:41:36.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-16T08:07:27.839Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"KeisukeKudo/docker-jupyter-notebook","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xiaody.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-07-13T08:33:35.000Z","updated_at":"2017-04-01T06:41:37.000Z","dependencies_parsed_at":"2022-08-25T07:14:17.523Z","dependency_job_id":null,"html_url":"https://github.com/xiaody/in-promise","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaody%2Fin-promise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaody%2Fin-promise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaody%2Fin-promise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaody%2Fin-promise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiaody","download_url":"https://codeload.github.com/xiaody/in-promise/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242185683,"owners_count":20086119,"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":"2024-11-16T05:08:57.733Z","updated_at":"2025-03-06T09:42:10.760Z","avatar_url":"https://github.com/xiaody.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://promisesaplus.com/\"\u003e\n    \u003cimg src=\"https://promisesaplus.com/assets/logo-small.png\" alt=\"Promises/A+ logo\"\n        title=\"Promises/A+ 1.1 compliant\" align=\"right\" /\u003e\n\u003c/a\u003e\n\n[![npm version](https://badge.fury.io/js/in-promise.svg)](http://badge.fury.io/js/in-promise)\n[![Build Status](https://travis-ci.org/xiaody/in-promise.svg?branch=master)](https://travis-ci.org/xiaody/in-promise)\n[![Codacy Badge](https://www.codacy.com/project/badge/bbeaa5c6e1964549b08f6ece3415fc76)](https://www.codacy.com/app/youyounaihe/in-promise)\n[![codecov.io](http://codecov.io/github/xiaody/in-promise/coverage.svg?branch=master)](http://codecov.io/github/xiaody/in-promise?branch=master)\n[![Dependency Status](https://david-dm.org/xiaody/in-promise.svg)](https://david-dm.org/xiaody/in-promise)\n[![devDependency Status](https://david-dm.org/xiaody/in-promise/dev-status.svg)](https://david-dm.org/xiaody/in-promise#info=devDependencies)\n\nin-promise is a minimal Promises/A+ implementation for browsers.\n~700 bytes (gzip).\n\n\n# API\nIt is really _minimal_, and only provides a ES6 style Promise constructor plus a Promises/A+ compatible `Promise#then` method:\n\n```js\nvar p1 = new Promise(function (res, rej) {\n  setTimeout(function () {\n    res('Hello Promise')\n  }, 100)\n})\nvar p2 = p1.then(function (value) {\n  console.log(value) // Hello Promise\n})\n```\n\nThis is no `Promise#catch` or `Promise.all` or `Promise.race` or ...\nJust `Promise#then`.\n\nFor a polyfill for ES6 Promise, check the [es6 branch].\n\n\n[es6 branch]: https://github.com/xiaody/in-promise/tree/es6\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaody%2Fin-promise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaody%2Fin-promise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaody%2Fin-promise/lists"}