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