@bredele/reconcile
v1.0.1
Published
Reconcile data from multiple async sources.
Readme
reconcile
Reconcile data from multiple async sources.
Installation
npm install @bredele/reconcileUsage
import reconcile from '@bredele/reconcile';
const output = await reconcile([
() => ({ name: 'jane', age: null }),
() => ({ name: 'john', city: 'toronto' }),
() => ({ city: 'paris', gender: 'female', age: 29 }),
]);
// => { name: 'jane', age: 29, city: 'toronto', gender: 'female' }