
Research
/Security News
Coruna Respawned: Compromised art-template npm Package Leads to iOS Browser Exploit Kit
Compromised npm package art-template delivered a Coruna-like iOS Safari exploit framework through a watering-hole attack.
object-transpose
Advanced tools
Transpose between array of objects and object of arrays. Supports objects of sparse arrays and arrays of irregular objects.
See test.js for examples.
npm install --save object-transpose
var assert = require('assert');
var T = require('object-transpose');
var collection = [
{ a: 1, b: 10 },
{ a: 2, b: 20}
];
assert.deepEqual(T(collection), { a: [1, 2], b: [10, 20] });
assert.deepEqual(T(T(collection)), collection);
ISC
FAQs
Transpose between object of arrays and array of objects
The npm package object-transpose receives a total of 14 weekly downloads. As such, object-transpose popularity was classified as not popular.
We found that object-transpose demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.

Research
/Security News
Compromised npm package art-template delivered a Coruna-like iOS Safari exploit framework through a watering-hole attack.

Company News
As AI accelerates how code is written and shipped, Socket is scaling to protect the software supply chain from the growing wave of attacks targeting open source dependencies.

Company News
Socket is scaling to defend open source against supply chain attacks as AI accelerates software development.