
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
concat-iterable
Advanced tools
Traverse every elements of several iterables sequentially or one iterable repeatedly
Traverse every elements of several iterables sequentially
Traverse one iterable repeatedly
var ConcatIterable = require('concat-iterable');
Traverse every elements of several iterables sequentially
var concat = new ConcatIterable(...iterables);
Where:
...iterables are iterable objects
sum is an iterable object (which may be finite or even endless)
var alphabet = new ConcatIterable('abc', 'def', 'ghi', 'jkl', 'mno', 'pqrs', 'tuv', 'wxyz');
console.log([...alphabet]);
You would seen an array of alphabet
::multiply a.k.a ::timesTraverse one iterable repeatedly
repeat = ConcatIterable.multiply(iterable, count);
Where:
iterable is a finite iterable object
count is an unsigned integer which represents number of times to iterate through iterable
repeat is an finite iterable object but with count times longer than iterable
var tribledabc = ConcatIterable.multiply('abc', 3);
console.log([...tribledabc]);
Similar to new ConcatIterable('abc', 'abc', 'abc') - i.e. 'abcabcabc', you would seen ['a', 'b', 'c', 'a', 'b', 'c', 'a', 'b', 'c']
FAQs
Traverse every elements of several iterables sequentially or one iterable repeatedly
We found that concat-iterable demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.