Calling SharePoint externally by a standalone Nodejs/Electronjs without typescript

Brass Contributor

Hi

   How can we calling SharePoint externally by a standalone Nodejs/Electronjs without typescript?

1. pnpsp is lack of a full working example and it is in typescript, but i want pure javacsript since stucking typescript into electron has no official tutorial

2. pnpsp use client id and client secret to "setup". I can't request my customers to request an app by themselve. Is there any way like sharepoint client sdk, just pass url+username+password?

thanks

Peter (System Architect, Quantr Limited)

2 Replies

https://github.com/SharePoint-NodeJS/Awesome-SharePoint-Node.js

 

Here's a collection of libraries for accessing SharePoint from a NodeJs application including using user credentials as authentication.

@Thomas Berman Thanks, i made it by pnpjs + sp-pnp-node