
Security News
Feross on the 10 Minutes or Less Podcast: Nobody Reads the Code
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.
Functional extension methods (inspired by LINQ .NET) on JavaScript arrays
THIS PACKAGE IS DEPRECATED! Please switch to the array-x package (https://www.npmjs.com/package/array-x)
require("lambda.js")(); // Note that, starting with version 2.0.0, the imported module function must be executed to extend the array type
var arr = [1, 2, 3, 4, 5, 6, 7];
arr.forAll((item) => console.log(item));
console.log(arr.select((item) => item * 10));
console.log(arr.where((item) => item > 4));
Array.prototype.forAll(function);
Array.prototype.select(function);
Array.prototype.distinct();
Array.prototype.where(function);
Array.prototype.all(function);
Array.prototype.any(function);
Array.prototype.accumulate(initial, function);
Array.prototype.firstOrDefault(function);
Array.prototype.first(function);
Array.prototype.lastOrDefault(function);
Array.prototype.last(function);
Array.prototype.union(array);
Array.prototype.orderBy(function);
Array.prototype.orderByDesc(function);
Array.prototype.sum(function);
Array.prototype.count(function);
Array.prototype.avg(function);
Array.prototype.max(function);
Array.prototype.min(function);
Array.prototype.groupBy(function);
Array.prototype.groupAggregate(key, value, aggregation);
Array.prototype.removeItem(item);
Array.prototype.removeAt(index);
Array.prototype.insert(index, item);
npm install lambda.js --save
FAQs
Functional extension methods (inspired by LINQ .NET) on JavaScript arrays
We found that lambda.js 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
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.