New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

easy-loop

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easy-loop - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

2

package.json
{
"name": "easy-loop",
"version": "1.4.0",
"version": "1.4.1",
"description": "Easy sync loop processing for Node.js",

@@ -5,0 +5,0 @@ "main": "lib/easy-loop",

@@ -7,3 +7,3 @@

## Comment
## iteration function
1) Method

@@ -22,3 +22,33 @@ : 모두 같은 동작이며 편리한 메소드를 호출하세요.

* TIP : arg2 와 arg3 의 인자값은 순서 변경 가능(arg3 and arg3 can be swap)
## series or parallel function
1) Method
var loop = require('easy-loop');
loop.series([
function(callback){
var result = "success";
callback(null, result);
},
...], function(err, results){
//err : undefined
//results : ["success"...]
});
loop.parallel({
one : function(callback){
var result = "success";
callback(null, result);
},
...}, function(err, results){
//err : undefined
//results : {"one":"success"...}
});
2) Arguments
(1) Array or Object - require
(2) callback function - option
## Examples

@@ -444,3 +474,3 @@

console.log("Case13 End");
/*

@@ -447,0 +477,0 @@ Case13 Start => Array. Like as 'async.parallel' of async module. If the error is when to stop.

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc