whisk
Advanced tools
Comparing version 0.6.0 to 0.6.1
{ | ||
"badges": { | ||
"nodeico": true, | ||
"drone": true | ||
"travis": true | ||
}, | ||
@@ -6,0 +6,0 @@ |
{ | ||
"name": "whisk", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "Functional operation helpers (underscore-like) for working with map, filter, reduce, etc", | ||
@@ -26,4 +26,4 @@ "main": "index.js", | ||
"devDependencies": { | ||
"tape": "~2.4.0" | ||
"tape": "^2.12.3" | ||
} | ||
} |
@@ -9,3 +9,3 @@ # whisk | ||
[![Build Status](https://drone.io/github.com/DamonOehlman/whisk/status.png)](https://drone.io/github.com/DamonOehlman/whisk/latest) | ||
[![Build Status](https://img.shields.io/travis/DamonOehlman/whisk.svg?branch=master)](https://travis-ci.org/DamonOehlman/whisk) | ||
@@ -117,2 +117,19 @@ ## flatten | ||
## times | ||
Create an element of arrays that can be iterated over n times: | ||
```js | ||
var times = require('whisk/times'); | ||
times(3).forEach(function() { | ||
console.log('hello world'); | ||
}); | ||
// --> hello world | ||
// --> hello world | ||
// --> hello world | ||
``` | ||
## zip | ||
@@ -119,0 +136,0 @@ |
Sorry, the diff of this file is not supported yet
16202
31
398
175