https://github.com/dimaamega/js-promise-implementation
implementation of js promises covered by tests
https://github.com/dimaamega/js-promise-implementation
js learning promise tutorial web
Last synced: 12 days ago
JSON representation
implementation of js promises covered by tests
- Host: GitHub
- URL: https://github.com/dimaamega/js-promise-implementation
- Owner: DimaAmega
- Created: 2022-10-27T23:56:08.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-11T05:28:21.000Z (almost 2 years ago)
- Last Synced: 2025-03-02T10:23:23.807Z (4 months ago)
- Topics: js, learning, promise, tutorial, web
- Language: JavaScript
- Homepage:
- Size: 114 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/DimaAmega/js-promise-implementation/actions/workflows/tests.js.yml)
[](https://codecov.io/gh/DimaAmega/js-promise-implementation)[](https:///pr.new/DimaAmega/js-promise-implementation)
# js-promise-implementation
implementation of promises in js
## Motivation
You can use the tool much better if you know how it works. Because of this, I decided to write a custom implementation of promise. Promise is the most frequently used feature in javascript (i think so)
## Testing
Also, part of tests are being run with [native](./src/factory/index.js#L133) promise implementation. See [here](./package.json#L19)## Get started
To install deps:
```shell
yarn install
```Run tests:
```shell
yarn test
```