Skip to content

Instantly share code, notes, and snippets.

View Ozerich's full-sized avatar

Vital Ozierski Ozerich

View GitHub Profile

finally-polyfill

A tiny ~150-byte polyfill for Promise.prototype.finally.

Useful for browsers that support Promise but not the .finally() method.

Usage

npm install finally-polyfill