[Pkg-javascript-devel] Bug#780652: ITP: node-concat-map -- concatenative mapdashery for Node.js
Bas Couwenberg
sebastic at xs4all.nl
Tue Mar 17 12:32:54 UTC 2015
Package: wnpp
Severity: wishlist
Owner: Bas Couwenberg <sebastic at debian.org>
* Package name : node-concat-map
Version : 0.0.1
Upstream Author : James Halliday <mail at substack.net>
* URL : https://github.com/substack/node-concat-map
* License : Expat
Programming Lang: JavaScript
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-concat-map is required for node-brace-expansion, which in turn is
required for node-minimatch >= 2.0.0.
The node-concat-map package will be maintained in the JavaScript team.
More information about the Pkg-javascript-devel
mailing list