mergesorted

returns the interception of two ordered arrays

npm install mergesorted
2 downloads in the last week
4 downloads in the last month

mergesorted

Returns the interception of two ordered arrays

var mergesorted = require('mergesorted');

console.log(mergesorted([2, 3, 4], [1, 2, 3]))
//
// [2,3]
//
npm loves you