sha

sharepointplus

SharepointPlus ($SP) is a JavaScript library which offers some extended features for SharePoint entirely on client side (requires no server install). $SP will simplify your interactions with Sharepoint.

Showing:

Popularity

Downloads/wk

172

GitHub Stars

196

Maintenance

Last Commit

7mos ago

Contributors

3

Package

Dependencies

2

Size (min+gzip)

53.3KB

License

LGPL-3.0

Type Definitions

Tree-Shakeable

Yes?

Categories

Readme

SharepointPlus

Average time to resolve an issue Percentage of issues still open

SharepointPlus ($SP) is a JavaScript library which offers some extended features for SharePoint entirely on client side (requires no server install). $SP will simplify your interactions with Sharepoint.

Documentation

Browse the online documentation here.

Quick Start

Node Environment

npm install sharepointplus

Then:

import $SP from 'sharepointplus'

Please, make sure to read the documentation to optimize your bundle size.

Browser Only

To directly use it in a browser:

  <script type="text/javascript" src="//cdn.jsdelivr.net/npm/sharepointplus/browser/sharepointplus.js"></script>

Usage / Examples

Update all items with an "Amount" value bigger than 1000:

$SP().list('My List Name').update({
  Title:"Too expensive"
}, {
  where:"Amount > 1000"
})
.then(function(res) {
  alert(res.passed.length+" items successfully updated!");
});

Get all items with "Requestor" as the current user and with "Default Color" is "pink":

$SP().list('ListName').get({
  fields:"Title,Size",
  where:"Requestor = '[Me]' AND Default_x0020_Color = 'pink'",
  orderby:"Size DESC",
  json:true
})
.then(function(data) {
  data.forEach(function(d) {
    console.log("Model = "+d.Title+" (size: "+d.size+")";
  })
});

More information

Please visit the online documentation to know more.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100