promisify-all-multi
promisify-all with multiArgs always on the object.someMethodMulti
property
Setup via NPM
npm install promisify-all-multi --save
Usage
;const object = { ; }const promised = ; promisedmethod'foo' 'bar' // 'foo!' promised // ['foo!', 'bar@'] // Using es6 destructuring:promised // {foo: 'foo!', bar: 'bar@'}