Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 852 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 852 Bytes

common-elements

NPM version build status Test coverage

Find common elements in multiple arrays

Example

var getCommon = require('common-elements');
var commonArr = getCommon([1, 2, 3], [2, 3], [2, 3, 4]);
console.log(commonArr); // [2, 3]

Lisence

MIT