Socket
Socket
Sign inDemoInstall

whisk

Package Overview
Dependencies
0
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.0 to 0.6.1

examples/times.js

2

docs.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc