Skip to content

A custom implementation of the Promise API in JavaScript.

License

Notifications You must be signed in to change notification settings

sindelio/sinds-promise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sinds_promise

A custom implementation of the standard Promise API in JavaScript. Current version: 1.1.0

Features

The module exports an object with 4 functions in it:

  • sinds_promise.all()
  • sinds_promise.race()
  • sinds_promise.resolve()
  • sinds_promise.reject()

These functions display the same behavior as the standard Promise API.

Installation

To install the module locally using Yarn:

yarn add sinds_promise

Or using NPM:

npm i sinds_promise

Usage

Require/import the module from your code:

const sindsPromise = require('sinds_promise');

Objectives

  • Practice with async code and promises.
  • Learn how to create modules and publish them to the NPM registry.

Contributions

Any comments and contributions are much welcome!

License

Do What The F*ck You Want To

About

A custom implementation of the Promise API in JavaScript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages