sp-each
Iterates over enumerable SharePoint client object.
Installation
npm install sp-each --save
Usage
JavaScript
; ;
TypeScript
typings install dt~microsoft.ajax --global --save
typings install dt~sharepoint --global --save
/// <reference path="typings/index.d.ts" /> ; each<SPWeb>webs { console;};
Test
cd sp-each/test/Scripts/src
npm install
webpack
Then open the project under test folder by Visual Studio and deploy the Add-in.
License
MIT.