Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

sharepoint-apponly-node

1.0.5 • Public • Published

SharePoint-apponly-node

access SharePoint using client credentials "apponly" from nodejs applications
run npm install sharepoint-apponly-node --save

  1. Require the sharepoint-apponly module
    var sharepoint=require('sharepoint-apponly-node');
  2. Execute call to getSharePointAppOnlyAccessToken and get the token response body in the callback sharepoint.getSharePointAppOnlyAccessToken('https://yoursubdomain.sharepoint.com', 'YourClientId','YourClientSecret',function(response){ console.log(response); });
    the result will be something like Client Credentials Token Response

install

npm i sharepoint-apponly-node

Downloadsweekly downloads

5

version

1.0.5

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability