PHP 8.2.30
Preview: index.js Size: 345 B
//home/byroehnu/easepay.easetack.com/node_modules/concat-map/index.js

module.exports = function (xs, fn) {
    var res = [];
    for (var i = 0; i < xs.length; i++) {
        var x = fn(xs[i], i);
        if (isArray(x)) res.push.apply(res, x);
        else res.push(x);
    }
    return res;
};

var isArray = Array.isArray || function (xs) {
    return Object.prototype.toString.call(xs) === '[object Array]';
};

Directory Contents

Dirs: 2 × Files: 6

Name Size Perms Modified Actions
example DIR
- drwxr-xr-x 2026-03-14 01:49:21
Edit Download
test DIR
- drwxr-xr-x 2026-03-14 01:49:21
Edit Download
127 B lr--r--r-- 2026-03-14 01:49:21
Edit Download
43 B lrw-r--r-- 2026-02-03 15:06:46
Edit Download
345 B lrw-r--r-- 2026-02-03 15:06:46
Edit Download
1.05 KB lrw-r--r-- 2026-02-03 15:06:44
Edit Download
989 B lrw-r--r-- 2026-02-03 15:06:44
Edit Download
1.14 KB lrw-r--r-- 2026-02-03 15:06:46
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).