@pnp v3?
Is there a way to use this with the v3 @pnp libraries?
This project seems dead. There have been no commits in 2 years. The SharePoint support in NodeJS appears very fractured and poorly documented.
hmm yes but both @s-KaiNet and @koltyakov still seem pretty active.
Yeah, we should update this library to support pnp v3. The reason why it's dead is simply that the best and recommended way to work with nodejs and SharePoint authentication is through msal.js. This library (based on node-sp-auth) was created many years ago to support some specific scenarios using Azure ACS (currently deprecated but still works in SP for backward compat.) and username-password (not very secure) methods. That's why if you build something modern, it's better to use msal.js and standard Azure AD-based authentication implemented in msal.js.
Thanks @s-KaiNet. The msal-node package seems to be what I want. The number of options that MS supports combined with all the packages that implement (or more frequently partially implement) them can be pretty overwhelming.