Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> web >> node-concat-map
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: node-concat-map  ]

套件: node-concat-map (0.0.1-2)

concatenative mapdashery for Node.js

node-concat-map provides a single method concatMap(xs, fn) that will 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.

Node.js is an event-based server-side JavaScript engine.

其他與 node-concat-map 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: nodejs
    evented I/O for V8 javascript - runtime executable
    同時作為一個虛擬套件由這些套件提供: node-pegjs

下載 node-concat-map

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 3.9 kB17 kB [文件列表]