promise-finally
TypeScript icon, indicating that this package has built-in type declarations

3.0.1 • Public • Published

Promise Finally

NPM version NPM downloads Build status Test coverage

Simple wrapper to run promise "finally" logic.

Installation

npm install promise-finally --save

Usage

import promiseFinally from 'promise-finally'
 
const p = Promise.resolve('something')
 
promiseFinally(p, () => ...)

License

MIT

Dependencies (0)

    Dev Dependencies (12)

    Package Sidebar

    Install

    npm i promise-finally

    Weekly Downloads

    38,901

    Version

    3.0.1

    License

    MIT

    Unpacked Size

    8.02 kB

    Total Files

    9

    Last publish

    Collaborators

    • blakeembrey