-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.js
More file actions
23 lines (21 loc) · 804 Bytes
/
index.js
File metadata and controls
23 lines (21 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
const _ = require('lodash');
const step = require('./step');
const map = require('./map');
const mapSeries = require('./mapSeries');
const mapLimit = require('./mapLimit');
const _res = (drop, res) => res;
module.exports = {
step: step,
waterfall: require('./waterfall'),
parallel: require('./parallel'),
map: (fn, path, target) => map(step(fn, _.identity, _res), path, target),
mapLimit: (limit) => (fn, path, target) => mapLimit(limit)(step(fn, _.identity, _res), path, target),
mapSeries: (fn, path, target) => mapSeries(step(fn, _.identity, _res), path, target),
some: require('./some'),
packageApp: require('./packageApp'),
set: require('./set'),
diff: require('./diff'),
intersection: require('./intersection'),
combine: require('./combine'),
from: require('./from')
};