Where can I use the PNP library in JavaScript?

Where can I use the PNP library in JavaScript?

You can use it within SharePoint Framework, Nodejs, or any JavaScript project. This an open source initiative and we encourage contributions and constructive feedback from the community. Animation of the library in use, note intellisense help in building your queries

Is it safe to use pnpjs in NodeJS?

PnPjs is a collection of fluent libraries for consuming SharePoint, Graph, and Office 365 REST APIs in a type-safe way. You can use it within SharePoint Framework, Nodejs, or any JavaScript project. This an open source initiative and we encourage contributions and constructive feedback from the community.

Where can I find the latest PNP updates?

Please use http://aka.ms/sppnp for the latest updates around the whole SharePoint Patterns and Practices (PnP) program. THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.

Is there a transition guide for pnpjs V1?

If you are migrating from v1 please review the transition guide. Patterns and Practices client side libraries (PnPjs) are comprised of the packages listed below. All of the packages are published as a set and depend on their peers within the @pnp scope.

How is PNP core library used in SharePoint?

PnP JS Core library can be used in SharePoint Online or in on-premises. It’s a great library to be used with SharePoint Framework customizations, but it can be also used using classic development models, like with Script Editor Web Part or when you embed JavaScript to SharePoint using User Custom Actions.

Can you use pnpjs with SharePoint framework?

PnPJS is a fluent JavaScript API for consuming SharePoint and Office 365 REST APIs in a type-safe way. You can use it with SharePoint Framework, Nodejs, or JavaScript projects. This an open source initiative complements existing SDKs provided by Microsoft offering developers another way to consume information from SharePoint and Office 365.

Do you need to set up @ PNP / SP library?

After your project is created, you must install and set up @pnp/sp , starting with installing the package. These steps are common for any project type (React, etc). Because the @pnp/sp library constructs REST requests, it needs to know the URL to send these requests.