Need private packages and team management tools?Check out npm Teams »

promise-prototype-finally

1.0.0 • Public • Published

Polyfill for Promise.prototype.finally

Minimal polyfill for the yet-non-standard Promise.prototype.finally function, based on @domenic comment on promises specification.

The objective of this finally implementation is to provide syntactic sugar over raw promises for executing an action after a promise resolves or rejects while not altering the original result.

Install

npm install promise-prototype-finally

License

WTFPL

Install

npm i promise-prototype-finally

DownloadsWeekly Downloads

115

Version

1.0.0

License

WTFPL

Last publish

Collaborators

  • avatar