UNPKG

p-finally

Version:

`Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome

43 lines (42 loc) 772 B
{ "name": "p-finally", "version": "3.0.0", "description": "`Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome", "license": "MIT", "repository": "sindresorhus/p-finally", "funding": "https://github.com/sponsors/sindresorhus", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "https://sindresorhus.com" }, "type": "module", "exports": "./index.js", "engines": { "node": ">=12" }, "scripts": { "test": "xo && ava" }, "files": [ "index.js" ], "keywords": [ "promise", "finally", "handler", "function", "async", "await", "promises", "settled", "ponyfill", "polyfill", "shim", "bluebird" ], "devDependencies": { "ava": "^3.15.0", "xo": "^0.38.2" } }