Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 months 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 (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-11T05:28:21.000Z (over 1 year ago)
- Last Synced: 2024-10-12T16:08:52.481Z (3 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
[![Node.js CI](https://github.com/DimaAmega/js-promise-implementation/actions/workflows/tests.js.yml/badge.svg)](https://github.com/DimaAmega/js-promise-implementation/actions/workflows/tests.js.yml)
[![codecov](https://codecov.io/gh/DimaAmega/js-promise-implementation/branch/master/graph/badge.svg?token=CN0U5HMU0N)](https://codecov.io/gh/DimaAmega/js-promise-implementation)[![Open in Codeflow](https://developer.stackblitz.com/img/open_in_codeflow.svg)](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
```