{"repo":"koltyakov/sp-pnp-node","free":true,"listed":false,"github":"https://github.com/koltyakov/sp-pnp-node","clone":"git clone https://github.com/koltyakov/sp-pnp-node.git","description":"SharePoint JavaScript Core Library wrapper helper for Node.js","language":"TypeScript","stars":25,"topics":["sharepoint","nodejs","rest-api","api","authentication","client","sp-pnp-js","javascript","typescript"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"sp-pnp-node - PnPjs's auth client factory for Node.js Consider using pnp-auth as a successor which soaked the best of sp-pnp-node and node-pnp-sp libraries. I'm keeping sp-pnp-node not archived and update it from time to time only because of some production implementations which I'm too lazy to migrate to pnp-auth right away. sp-pnp-node provides a simple way for using PnPjs in Node.js with support of various authentication strategies. About PnPjs PnPjs Client Side Libraries for Microsoft 365 was created to help developers by simplifying common operations within SharePoint and the SharePoint Framework. Currently it contains a fluent API for working with the full SharePoint REST API as well as utility and helper functions. This takes the guess work out of creating REST requests, letting developers focus on the what and less on the how. Supported SharePoint versions - SharePoint Online - SharePoint On-Prem (2019, 2016, 2013) Install Usage examples Minimal setup Can be as simple as 5 lines of code: sp-pnp-node has two modes: - ambient init - wraps PnPjs with promise based auth wizard helper - factory - fetchClientFactory implementation When to use ambient init : in scripts with user interaction involved when there is no information about authentication and target invironment before script is executed. SharePoint url and the creds are prompted in a console. In CI/CD scenarios, factory approach is recommended over interactive console as it can lead to a task stuck. TypeScript Ambi","default_branch":null,"files":null,"tree":[],"storefront":"/r/koltyakov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/koltyakov/sp-pnp-node/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}