6148ba5ea8b5/node_modules/caniuse-lite/data/regions/RU.js">RU.js 77628cf8bf first comm 3 anni fa RW.js 77628cf8bf first comm 3 anni fa SA.js 77628cf8bf first comm 3 anni fa SB.js 77628cf8bf first comm 3 anni fa SC.js 77628cf8bf first comm 3 anni fa SD.js 77628cf8bf first comm 3 anni fa SE.js 77628cf8bf first comm 3 anni fa SG.js 77628cf8bf first comm 3 anni fa SH.js 77628cf8bf first comm 3 anni fa SI.js 77628cf8bf first comm 3 anni fa SK.js 77628cf8bf first comm 3 anni fa SL.js 77628cf8bf first comm 3 anni fa SM.js 77628cf8bf first comm 3 anni fa SN.js 77628cf8bf first comm 3 anni fa SO.js 77628cf8bf first comm 3 anni fa SR.js 77628cf8bf first comm 3 anni fa ST.js 77628cf8bf first comm 3 anni fa SV.js 77628cf8bf first comm 3 anni fa SY.js 77628cf8bf first comm 3 anni fa SZ.js 77628cf8bf first comm 3 anni fa TC.js 77628cf8bf first comm 3 anni fa TD.js 77628cf8bf first comm 3 anni fa TG.js 77628cf8bf first comm 3 anni fa TH.js 77628cf8bf first comm 3 anni fa TJ.js 77628cf8bf first comm 3 anni fa TK.js 77628cf8bf first comm 3 anni fa TL.js 77628cf8bf first comm 3 anni fa TM.js 77628cf8bf first comm 3 anni fa TN.js 77628cf8bf first comm 3 anni fa TO.js 77628cf8bf first comm 3 anni fa TR.js 77628cf8bf first comm 3 anni fa TT.js 77628cf8bf first comm 3 anni fa TV.js 77628cf8bf first comm 3 anni fa TW.js 77628cf8bf first comm 3 anni fa TZ.js 77628cf8bf first comm 3 anni fa UA.js 77628cf8bf first comm 3 anni fa UG.js 77628cf8bf first comm 3 anni fa US.js 77628cf8bf first comm 3 anni fa UY.js 77628cf8bf first comm 3 anni fa UZ.js 77628cf8bf first comm 3 anni fa VA.js 77628cf8bf first comm 3 anni fa VC.js 77628cf8bf first comm 3 anni fa VE.js 77628cf8bf first comm 3 anni fa VG.js 77628cf8bf first comm 3 anni fa VI.js 77628cf8bf first comm 3 anni fa VN.js 77628cf8bf first comm 3 anni fa VU.js 77628cf8bf first comm 3 anni fa WF.js 77628cf8bf first comm 3 anni fa WS.js 77628cf8bf first comm 3 anni fa YE.js 77628cf8bf first comm 3 anni fa YT.js 77628cf8bf first comm 3 anni fa ZA.js 77628cf8bf first comm 3 anni fa ZM.js 77628cf8bf first comm 3 anni fa ZW.js 77628cf8bf first comm 3 anni fa alt-af.js 77628cf8bf first comm 3 anni fa alt-an.js 77628cf8bf first comm 3 anni fa alt-as.js 77628cf8bf first comm 3 anni fa alt-eu.js 77628cf8bf first comm 3 anni fa alt-na.js 77628cf8bf first comm 3 anni fa alt-oc.js 77628cf8bf first comm 3 anni fa alt-sa.js 77628cf8bf first comm 3 anni fa alt-ww.js 77628cf8bf first comm 3 anni fa tum/tmt_learning - Gogs: Simplico Git Service

Ei kuvausta

Prach Pongpanich 6f337d0a21 install tailwind alpine daisyui 3 vuotta sitten
..
example 6f337d0a21 install tailwind alpine daisyui 3 vuotta sitten
test 6f337d0a21 install tailwind alpine daisyui 3 vuotta sitten
.travis.yml 6f337d0a21 install tailwind alpine daisyui 3 vuotta sitten
LICENSE 6f337d0a21 install tailwind alpine daisyui 3 vuotta sitten
README.markdown 6f337d0a21 install tailwind alpine daisyui 3 vuotta sitten
index.js 6f337d0a21 install tailwind alpine daisyui 3 vuotta sitten
package.json 6f337d0a21 install tailwind alpine daisyui 3 vuotta sitten

README.markdown

concat-map

Concatenative mapdashery.

browser support

build status

example

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

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 do:

npm install concat-map

license

MIT

notes

This module was written while sitting high above the ground in a tree.