0.0.1 • Published 8 years ago

sharepoint-client v0.0.1

Weekly downloads
3
License
ISC
Repository
-
Last release
8 years ago

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)
        })
    })