Looks through SharePoint object collection and returns an array of objects that pass a truth test.
npm install sp-filter --save
var filter = require('sp-filter');
var webs = filter(webCollection, function (current, index, collection) {
return current.get_title().indexOf('Title') > 0;
});
MIT.