From 3c51c3be85bb0d1bdb87ea0d6632f1c256912f27 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sun, 6 Oct 2019 21:37:45 +0200 Subject: build: Add some required modules for node --- node_modules/lodash/zip.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 node_modules/lodash/zip.js (limited to 'node_modules/lodash/zip.js') diff --git a/node_modules/lodash/zip.js b/node_modules/lodash/zip.js new file mode 100644 index 0000000..c800ab3 --- /dev/null +++ b/node_modules/lodash/zip.js @@ -0,0 +1,22 @@ +var baseRest = require('./_baseRest'), + unzip = require('./unzip'); + +/** + * Creates an array of grouped elements, the first of which contains the + * first elements of the given arrays, the second of which contains the + * second elements of the given arrays, and so on. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {...Array} [arrays] The arrays to process. + * @returns {Array} Returns the new array of grouped elements. + * @example + * + * _.zip(['a', 'b'], [1, 2], [true, false]); + * // => [['a', 1, true], ['b', 2, false]] + */ +var zip = baseRest(unzip); + +module.exports = zip; -- cgit v1.2.3