
Research
/Security News
Malicious Chrome and Firefox Extensions Steal Crypto Traders’ Session and Wallet Data
Malicious Chrome and Firefox extensions target Axiom Trade and Padre users, stealing session tokens and wallet data.
iterable-ops
Advanced tools
Lazy utility functions for sync and async iterables — map, filter, take, chunk, zip, flatten
Lazy utility functions for sync and async iterables — map, filter, take, chunk, zip, flatten
npm install iterable-ops
import {map, filter, take, chunk, zip, flatten, unique} from 'iterable-ops';
[...map([1, 2, 3], x => x * 2)];
//=> [2, 4, 6]
[...filter([1, 2, 3, 4], x => x % 2 === 0)];
//=> [2, 4]
[...take([1, 2, 3, 4, 5], 3)];
//=> [1, 2, 3]
[...chunk([1, 2, 3, 4, 5], 2)];
//=> [[1, 2], [3, 4], [5]]
[...zip([1, 2], ['a', 'b'])];
//=> [[1, 'a'], [2, 'b']]
[...flatten([[1, 2], [3, [4]]])];
//=> [1, 2, 3, [4]]
[...unique([1, 2, 2, 3, 3])];
//=> [1, 2, 3]
All functions are lazy — they use generators and only compute values as they are consumed.
Yields function_(item) for each item.
Yields items where function_(item) is truthy.
Yields the first count items, then stops.
Skips the first count items, then yields the rest.
Yields arrays of size items. The last chunk may be smaller.
Yields arrays of parallel items from each iterable. Stops at the shortest.
Yields items from nested iterables, flattening up to depth levels. Default: 1.
Yields only the first occurrence of each value.
Async version of map for async iterables.
Async version of filter for async iterables.
MIT
FAQs
Lazy utility functions for sync and async iterables — map, filter, take, chunk, zip, flatten
We found that iterable-ops demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Research
/Security News
Malicious Chrome and Firefox extensions target Axiom Trade and Padre users, stealing session tokens and wallet data.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.