@jgjp/fire
v1.0.0
Published
Execute logic in a promise-like wrapper
Readme
fire
Execute any logic inside a promise-like function
Installation
$ npm install @jgjp/fireAPI
import fire from '@jgjp/fire';
const { data } = await fire(async () => {
// do something
})
.catch(handleError)
.finally(cleanup)
// use dataLicense
MIT
