New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

arrcur

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arrcur

Run through arrays and complete

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

arrcur v1.0.2

Iterates over an array and calls back on completion.

CircleCI

Installation

Using npm:

npm install arrcur --save

Usage

In Node.js:

var arrcur = require('arrcur');

arrcur([1, 2, 3, 4, 5, 6], function(val, key) {
	console.log(val, key);
}, function() {
	console.log('Done!');
});

// arrcur(value, each, done);

Parameters:

  • value - object to iterate
  • each - callback for each item
  • done - callback on last item

Accepted value types:

  • Arrays - each value
  • Objects - each value
  • Strings - each character

Test

Tests are written in mocha, install dev-dependencies then run:

npm test

FAQs

Package last updated on 11 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts