Effortlessly Manage SharePoint HTTP Requests and File Uploads with Node.js Modules sp-request and spsave
Summary of my bookmarked Github repositories from Jan 10th, 2017
Github repositories
- s-KaiNet/sp-request
sp-request is a simplified SharePoint HTTP client for Node.js. It allows you to perform REST queries against SharePoint, supporting both on-premises and online versions. It is based on the got library and node-sp-auth for authentication. You can use sp-request to send requests with the same parameters as got, and it takes care of authenticating you within SharePoint. The module is only supported in Node.js and not in browsers. It provides convenient methods for GET and POST requests, as well as a way to retrieve request digest.
- s-KaiNet/spsave
spsave is a Node.js module designed for saving files in SharePoint, supporting SharePoint 2013, 2016, and SharePoint Online. It relies on the sp-request module for sending REST queries to SharePoint and uses node-sp-auth for authentication. The module provides various options for uploading files, including using gulp, SharePoint hosted apps, or specifying core options, credentials, and file options. Success and error handlers are available for file upload events. The repository contains development instructions, including recommendations for using VS Code, running tests, and performing integration testing.