
Security News
CISA Kills Off RSS Feeds for KEVs and Cyber Alerts
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
sorted-paired-zip
Advanced tools
Provides a function which zips array elements together in pairs using a custom sort function
A JavaScript function which zips array elements together in pairs using a custom sort function
npm install --save sorted-paired-zip
const { sortedPairedZip } = require('sorted-paired-zip');
const sorter = (x, y) => x.localeCompare(y);
sortedPairedZip(['a', 'b', 'c', 'e'], ['b', 'c', 'd', 'e', 'f'], sorter) === [
['a', null],
['b', 'b'],
['c', 'c'],
[null, 'd'],
['e', 'e'],
[null, 'f']
];
const sorter = (x, y) => x - y;
sortedPairedZip([4, 7, 8], [1, 2, 3, 4, 5, 6, 7, 8], sorter) === [
[null, 1],
[null, 2],
[null, 3],
[4, 4],
[null, 5],
[null, 6],
[7, 7],
[8, 8]
];
FAQs
Provides a function which zips array elements together in pairs using a custom sort function
The npm package sorted-paired-zip receives a total of 969 weekly downloads. As such, sorted-paired-zip popularity was classified as not popular.
We found that sorted-paired-zip 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
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.