Pinky Promises are the most lightweight alternatives to the modern web promises API, with support for all browsers and platforms and no dependencies.
≪ Node package · Buy me a Coffee ≫
Made with ♥ by Jeffrey Lanters
Installation
Install using NPM for your JS or TS project.
$ npm install pinky-promises --save
JavaScript Usage
const PinkyPromise = ;; { return { // Do something ASYNC ... ; ; };} ;
Consuming
// Consume let's you cancel a unfulfilled promise.const promise = ;promise;
Typings
Typings included!
;