promise-finally
Simple wrapper to run promise "finally" logic
Last updated 7 years ago by blakeembrey .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install promise-finally 
SYNC missed versions from official npm registry.

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

Current Tags

  • 3.0.1                                ...           latest (7 years ago)

8 Versions

  • 3.0.1                                ...           7 years ago
  • 3.0.0                                ...           10 years ago
  • 2.2.1                                ...           10 years ago
  • 2.2.0                                ...           11 years ago
  • 2.1.0                                ...           11 years ago
  • 2.0.1                                ...           11 years ago
  • 2.0.0                                ...           11 years ago
  • 1.0.0                                ...           11 years ago
Maintainers (1)
Downloads
Total 23
Today 5
This Week 5
This Month 16
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (12)
Dependents (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE