promise-finally
Simple wrapper to run promise "finally" logic
Last updated 6 years ago by blakeembrey .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (6 years ago)

8 Versions

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

Copyright 2013 - present © cnpmjs.org | Home |