Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.189.3.134
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp /
node_modules /
concat-map /
Delete
Unzip
Name
Size
Permission
Date
Action
example
[ DIR ]
drwxr-xr-x
2021-05-07 15:02
test
[ DIR ]
drwxr-xr-x
2021-05-07 15:02
.travis.yml
43
B
-rw-r--r--
2012-06-08 04:28
LICENSE
1.05
KB
-rw-r--r--
2014-01-30 03:03
README.markdown
1.14
KB
-rw-r--r--
2012-11-28 10:41
index.js
345
B
-rw-r--r--
2012-12-08 04:09
package.json
1.79
KB
-rw-r--r--
2021-05-07 15:02
Save
Rename
concat-map ========== Concatenative mapdashery. [](http://ci.testling.com/substack/node-concat-map) [](http://travis-ci.org/substack/node-concat-map) example ======= ``` js var concatMap = require('concat-map'); var xs = [ 1, 2, 3, 4, 5, 6 ]; var ys = concatMap(xs, function (x) { return x % 2 ? [ x - 0.1, x, x + 0.1 ] : []; }); console.dir(ys); ``` *** ``` [ 0.9, 1, 1.1, 2.9, 3, 3.1, 4.9, 5, 5.1 ] ``` methods ======= ``` js var concatMap = require('concat-map') ``` concatMap(xs, fn) ----------------- Return an array of concatenated elements by calling `fn(x, i)` for each element `x` and each index `i` in the array `xs`. When `fn(x, i)` returns an array, its result will be concatenated with the result array. If `fn(x, i)` returns anything else, that value will be pushed onto the end of the result array. install ======= With [npm](http://npmjs.org) do: ``` npm install concat-map ``` license ======= MIT notes ===== This module was written while sitting high above the ground in a tree.