Get unlimited public & private packages + team-based management with npm Teams.Learn more »

promise-finally

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

Install

npm i promise-finally

DownloadsWeekly Downloads

49,359

Version

3.0.1

License

MIT

Unpacked Size

8.02 kB

Total Files

9

Last publish

Collaborators

  • avatar