Web lists-archives.com

Bug#854360: ITP: node-array-map




Package: wnpp
Severity: wishlist
Owner: Shirish Togarla <shirishtogarla533@xxxxxxxxx>
X-Debbugs-CC: debian-devel@xxxxxxxxxxxxxxxx

* Package name    : node-array-map
  Version         : 0.0.0
  Upstream Author : James Halliday <mail@xxxxxxxxxxxx> (http://substack.net)
* URL             : https://github.com/substack/array-map
* License         : Expat
  Programming Lang: _javascript_
  Description     : `[].map(f)` for older browsers

 It maps an array(i.e. every value in the array) onto a function and returns
 the result.For example
 var map = require('array-map');
 var letters = map([97,98,99], function (c) {
    return String.fromCharCode(c);
 });
 console.log(letters.join(''));
 The output is
 abc