Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

lodash-transpose

0.2.1 • Public • Published

lodash-transpose Build Status

Adds matrix transpose functionality to lodash.

Usage

var _ = require("lodash-transpose"); // Includes lodash
 
var matrix = [
  [1, 2, 3],
  [4, 5, 6]
];
 
_.isMatrix(matrix); // => true
_.transpose(matrix); // => [[1, 4], [2, 5], [3, 6]]

install

npm i lodash-transpose

Downloadsweekly downloads

239

version

0.2.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability