1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
Source: node-concat-map
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Uploaders: Pirate Praveen <praveen@debian.org>
Section: javascript
Testsuite: autopkgtest-pkg-nodejs
Priority: optional
Build-Depends: debhelper-compat (= 12),
node-tape <!nocheck>,
pkg-js-tools (>= 0.9.20~)
Standards-Version: 4.5.0
Vcs-Browser: https://salsa.debian.org/js-team/node-concat-map
Vcs-Git: https://salsa.debian.org/js-team/node-concat-map.git
Homepage: https://github.com/substack/node-concat-map
Rules-Requires-Root: no
Package: node-concat-map
Architecture: all
Depends: ${misc:Depends},
nodejs
Description: 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.
|