New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

sharepoint-restful

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sharepoint-restful

a simple sharepoint REST api helper

latest
Source
npmnpm
Version
0.0.3
Version published
Weekly downloads
8
166.67%
Maintainers
1
Weekly downloads
 
Created
Source

sharepoint-restful

Provides an easy way to work with the SharePoint 2013 REST API from node. Only works with on-premise SharePoint 2013 environments with sites that are configured to allow basic authentication.

Every operation returns a promise. The list operations can have a properties array passed in to only return those properties needed. If no properties array is passed in then a default list is used. Please refer to the link below for a list of valid properties:

http://msdn.microsoft.com/en-us/library/office/dn531433(v=office.15).aspx

These properties are CaSe SeNsItIvE.

Examples

I am currently rewriting the examples piece to show a more robust usage, but for now there are 3 examples, getAllLists, getListInfo, and getListItems. To run the examples:

  • Clone or download the zip
  • Extract
  • Run npm install
  • Modify the config.js to reflect your settings
  • Run node server
  • Browse to http://localhost:3000

There are some more examples in the examples.js, but they are not really polished as of right now.

More to come. Please file an issue if you have any questions.

Keywords

Sharepoint

FAQs

Package last updated on 23 Mar 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts