UNPKG

@nozbe/watermelondb

Version:

Build powerful React Native and React web apps that scale from hundreds to tens of thousands of records and remain fast

14 lines (12 loc) 283 B
"use strict"; exports.__esModule = true; exports.default = fromPairs; // inspired by ramda and rambda /* eslint-disable */ function fromPairs(pairs) { var result = {}; for (var i = 0, l = pairs.length; i < l; i++) { result[pairs[i][0]] = pairs[i][1]; } return result; }