0.0.1 • Published 9 years ago

sp-filter v0.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
9 years ago

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