SpRestLib

SpRestLib

  • Download
  • Get Started
  • API Documentation
  • SharePoint Guides
  • GitHub

›Features

Get Started

  • Installation
  • Promise You Will Love It
  • Promise-based Operations

Features

  • Library Integration
  • Library Options
  • SharePoint via Node.js
  • Utility Methods

API Reference

  • List/Library Methods (SP.List)
  • File Methods (SP.File)
  • Folder Methods (SP.Folder)
  • Site Methods (SP.Web)
  • User Methods (SP.User)
  • REST API Methods

SpRestLib UI

  • Form Binding

Help / Support

  • SharePoint Authentication

Library Integration

Integration with other Libraries

SpRestLib works with Angular, React, Typescript, Webpack, etc.!

The library exports itself when available and defaults to a non-Node setup. This should enable the code to integrate into your solution without errors.

As of 1.7.0, I don't have a good solution for the issue of https dependency. The package.json file includes https as a dependency because Node.js requires it for network connectivity. However, since there's only one package.json, Angular/React, et al. tend to fail on that during build.

I've lightly searched and found no clear answer on how to handle the need for separate package.json. If any of you have some expertise in this area, please let me know! :-)

In the meantime, remove https from package.json before your build, or look to the solutions below...

More Information

See these issues for code samples and other helpful information:

  • Issue #9
  • Issue #23
← Promise-based OperationsLibrary Options →
  • Integration with other Libraries
  • More Information
SpRestLib
Docs
Getting Started with SpRestLibSharePoint API ReferenceSharePoint Development GuidesAbout JavaScript Promises
Community
FacebookTwitterPinterestYouTube Channel
More
GitHub IssuesGitHub ProjectSpRestLib on Stack OverflowSite Icons
Copyright © 2019 Brent Ely