Calling SharePoint externally by a standalone Nodejs/Electronjs without typescript

%3CLINGO-SUB%20id%3D%22lingo-sub-332834%22%20slang%3D%22en-US%22%3ECalling%20SharePoint%20externally%20by%20a%20standalone%20Nodejs%2FElectronjs%20without%20typescript%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-332834%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3BHow%20can%20we%20calling%20SharePoint%20externally%20by%20a%20standalone%20Nodejs%2FElectronjs%20without%20typescript%3F%3C%2FP%3E%3CP%3E1.%20pnpsp%20is%20lack%20of%20a%20full%20working%20example%20and%20it%20is%20in%20typescript%2C%20but%20i%20want%20pure%20javacsript%20since%20stucking%20typescript%20into%20electron%20has%20no%20official%20tutorial%3C%2FP%3E%3CP%3E2.%20pnpsp%20use%20client%20id%20and%20client%20secret%20to%20%22setup%22.%20I%20can't%20request%20my%20customers%20to%20request%20an%20app%20by%20themselve.%20Is%20there%20any%20way%20like%20sharepoint%20client%20sdk%2C%20just%20pass%20url%2Busername%2Bpassword%3F%3C%2FP%3E%3CP%3Ethanks%3C%2FP%3E%3CP%3EPeter%20(System%20Architect%2C%20Quantr%20Limited)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-352562%22%20slang%3D%22en-US%22%3ERe%3A%20Calling%20SharePoint%20externally%20by%20a%20standalone%20Nodejs%2FElectronjs%20without%20typescript%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-352562%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FSharePoint-NodeJS%2FAwesome-SharePoint-Node.js%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FSharePoint-NodeJS%2FAwesome-SharePoint-Node.js%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere's%20a%20collection%20of%20libraries%20for%20accessing%20SharePoint%20from%20a%20NodeJs%20application%20including%20using%20user%20credentials%20as%20authentication.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-560678%22%20slang%3D%22en-US%22%3ERe%3A%20Calling%20SharePoint%20externally%20by%20a%20standalone%20Nodejs%2FElectronjs%20without%20typescript%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-560678%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F241707%22%20target%3D%22_blank%22%3E%40Thomas%20Berman%3C%2FA%3E%26nbsp%3BThanks%2C%20i%20made%20it%20by%20pnpjs%20%2B%26nbsp%3Bsp-pnp-node%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
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
Highlighted

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.

Highlighted