sharepoint-client
v0.0.1
Published
A simple, Promise based, node.js REST client for SharePoint online
Downloads
2
Maintainers
Readme
sharepoint-client
A simple, Promise based, node.js REST client for SharePoint online
Install
npm install sharepoint-client
Usage (livescript)
client <- require (\sharepoint-client) endpoint, user, password .then _
[{name}] <- client.get-lists! .then _
get-list-items name
Usage (javascript)
require("sharepoint-client")(endPoint, username, password)
.then((client) => {
client.getLists().then((lists) => {
client.getListItems(lists[0].name)
})
})