I’ve noticed that I often write repeating code for SharePoint REST API operations with list, such as reading all list items, getting a single list item by ID and so on. This is why I’ve started a new small project called sp-rest-api.js.

This will be a small JS library mainly for working with SharePoint lists via the REST API.

Here’s an example of how you can easily get all items from a SharePoint list:

Follow the project here: https://github.com/catcher-in-the-try/sp-rest-api.js

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade