SharePoint Patterns and Practices PnPjs: Client Side Libraries for Microsoft 365

SharePoint Patterns and Practices Logo

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.

Please use http://aka.ms/sppnp for the latest updates around the whole SharePoint Patterns and Practices (PnP) program.

General Guidance

Packages

The following packages comprise the Patterns and Practices client side libraries. All of the packages are published as a set and depend on their peers within the @pnp scope.

The latest published version is 1.1.4.

@pnp/
common Provides shared functionality across all pnp libraries
config-store Provides a way to manage configuration within your application
graph Provides a fluent api for working with Microsoft Graph
logging Light-weight, subscribable logging framework
nodejs Provides functionality enabling the @pnp libraries within nodejs
odata Provides shared odata functionality and base classes
pnpjs Rollup library of core functionality (mimics sp-pnp-js)
sp Provides a fluent api for working with SharePoint REST
sp-addinhelpers Provides functionality for working within SharePoint add-ins
sp-clientsvc Provides based classes used to create a fluent api for working with SharePoint Managed Metadata
sp-taxonomy Provides a fluent api for working with SharePoint Managed Metadata

Issues, Questions, Ideas

Please log an issue using our template as a guide. This will let us track your request and ensure we respond. We appreciate any contructive feedback, questions, ideas, or bug reports with our thanks for giving back to the project.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

“Sharing is Caring”

Disclaimer

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.

spacer