• Stars
    star
    752
  • Rank 60,353 (Top 2 %)
  • Language
    TypeScript
  • License
    Other
  • Created about 7 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Fluent JavaScript API for SharePoint and Microsoft Graph REST APIs

PnPjs is a fluent JavaScript API for consuming SharePoint and Microsoft Graph REST APIs in a type-safe way. You can use it with SharePoint Framework, Nodejs, or JavaScript projects. This an open source initiative complementing existing SDKs provided by Microsoft.

Please use http://aka.ms/community/home for the latest updates around the whole Microsoft 365 and Power Platform Community(PnP) initiative.

If you are moving from v2 please review the transition guide

Getting Started

Please see the Getting Started guide in the main documentation.

Documentation

Please review the documentation for the PnPjs libraries. This site is updated with each release. If cannot find what you need, please let us know by logging an documentation request.

Authors

This project's contributors include Microsoft and community contributors. Work is done as an open source community project.

Sponsors

We want to thank everyone that has sponsored us once or on an ongoing basis. We use the money to look for fun ways to invest in the growth of PnPjs. Thank you to each and every one of you for your support and belief in what we are doing!

Thank You

KEMiCZA Sympraxis Consulting thechriskent erwinvanhunen PopWarner VesaJuvonen LauraKokkarinen ricardocarneiro andrewconnell YannickRe jansenbe tdwhite0 wobba

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 [email protected] 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.

Supportability and SLA

This library is open-source and community provided library with active community providing support for it. This is not Microsoft provided module so there's no SLA or direct support for this open-source component from Microsoft. Please report any issues using the issues list.

More Repositories

1

sp-dev-fx-webparts

SharePoint Framework web part, Teams tab, personal app, app page samples
TypeScript
2,029
star
2

PnP

SharePoint / Office 365 Developer Patterns and Practices - Archived older solutions. Please see https://aka.ms/m365pnp for updated guidance
C#
1,896
star
3

List-Formatting

List Formatting Samples for use in SharePoint and Microsoft Lists
TypeScript
1,755
star
4

PnP-PowerShell

SharePoint PnP PowerShell CmdLets
C#
987
star
5

cli-microsoft365

Manage Microsoft 365 and SharePoint Framework projects on any platform
TypeScript
896
star
6

sp-starter-kit

Modern SharePoint Starter Kit - End-to-end showcase solution to get started with modern experiences.
TypeScript
760
star
7

powershell

PnP PowerShell
C#
641
star
8

sp-dev-fx-extensions

Code samples and developer content targeted towards SharePoint Framework client-side extensions. https://aka.ms/spfx-extensions
TypeScript
637
star
9

PnP-Tools

Scripts and tools for Office 365 and SharePoint - More for IT Pro's
C#
510
star
10

sp-dev-solutions

Repository for SharePoint development reusable solutions
TypeScript
496
star
11

generator-teams

A Yeoman Generator for Microsoft Teams
TypeScript
425
star
12

PnP-Sites-Core

Microsoft 365 Dev PnP Core component (.NET) targeted for increasing developer productivity with CSOM based solutions.
C#
417
star
13

powerapps-samples

Contains curated community Microsoft Power App samples
404
star
14

sp-dev-fx-controls-react

Reusable React controls for SPFx solutions
TypeScript
384
star
15

pnpcore

The PnP Core SDK is a modern .NET SDK designed to work for Microsoft 365. It provides a unified object model for working with SharePoint Online and Teams which is agnostic to the underlying API's being called
C#
298
star
16

teams-dev-samples

Microsoft Teams sample applications and related content https://aka.ms/teams-samples
286
star
17

powerautomate-samples

Contains curated community samples for Microsoft Power Automate
260
star
18

sp-dev-fx-property-controls

Reusable SPFx property pane controls - Open source initiative
TypeScript
236
star
19

custom-learning-office-365

Microsoft Learning Pathways end user learning solution for Microsoft 365 customers.
TypeScript
230
star
20

script-samples

A sample gallery of scripts to manage all things Microsoft 365.
PowerShell
211
star
21

pnpframework

PnP Framework is a .NET library targeting Microsoft 365 containing the PnP Provisioning engine and a ton of other useful extensions
C#
206
star
22

copilot-prompts

Examples of prompts for Microsoft Copilot
192
star
23

generator-spfx

Open-source generator to extend the capabilities of the Microsoft SPFx generator
JavaScript
180
star
24

powerplatform-prompts

This repository contains a collection of prompt examples to be used with GPT models in the Power Platform.
175
star
25

powerplatform-samples

The website for the PnP Power Platform samples gallery, including Power Apps, Power Automate, Power Virtual Agents, Portals, etc.
173
star
26

powerapps-designtoolkit

This toolkit is a curated repo of Power Apps UI Guidance and Components that you can plug and play into your apps to transform your design.
169
star
27

PnP-Provisioning-Schema

Office 365 Patterns and Practices - Remote Provisioning Schema
160
star
28

sp-dev-site-scripts

Repository for sample SharePoint site designs and site scripts
158
star
29

modernization

All modernization tooling and guidance
C#
156
star
30

sp-power-platform-solutions

Sample PowerApps solutions designed to be used in SharePoint context
PowerShell
155
star
31

docker-spfx

Docker images for working with SharePoint Framework
Dockerfile
115
star
32

powerfx-samples

This repository contains samples for Power Fx low-code programming language https://github.com/microsoft/Power-Fx
113
star
33

sp-dev-fx-aces

Repository for the Microsoft Viva Connections Adaptive Card sample solutions from Microsoft and community.
TypeScript
110
star
34

AdaptiveCards-Templates

Samples on different adaptive card designs demonstrating the art of possible with them. Designs provided by the Microsoft design team and first versions targeting Viva Connections Adaptive Card Extensions (ACE) scenarios.
101
star
35

sp-dev-samples

Code samples for SharePoint add-ins, web hooks and other API samples
84
star
36

blog

holds all blogs published on the Microsoft 365 Platform Community blog
HTML
72
star
37

provision-assist-m365

Provision Assist is a request and provisioning solution for Teams, Groups, SPO Sites and Viva Engage Communities in Microsoft 365. It can be used as part of a Copilot for Microsoft 365 deployment.
PowerShell
63
star
38

sp-dev-fx-vs-extension

Visual Studio extension work around SPFx together with community
C#
57
star
39

sp-site-designs-studio

Code for the Site Design Studio solution
TypeScript
55
star
40

sp-editor

SP Editor is SharePoint Development Power Tool browser extension
JavaScript
50
star
41

sharing-is-caring

The "Sharing Is Caring" repository is used to provide guidance on the basics around making changes in GitHub.
50
star
42

sp-dev-build-extensions

Repo for different build extensions like gulp tasks and gulp plugins from the community for SharePoint development
JavaScript
48
star
43

spfx-reference-scenarios

Work repo for the SPFx in Teams samples
48
star
44

graph-connectors-samples

Microsoft Graph Connector samples
38
star
45

sp-formatter

SharePoint formatter Chromium Edge and Google Chrome browser extension
TypeScript
37
star
46

PnP-Transformation

Repository for the farm solution to add-in model transformation tooling and guidance
C#
36
star
47

vscode-viva

With the SharePoint Framework Toolkit extension, you can create and manage your SharePoint Framework solutions on your tenant. All actions you need to perform during the development flow are at your fingertips.
TypeScript
35
star
48

syntex-samples

SharePoint Premium samples
PowerShell
34
star
49

sp-dev-fx-library-components

Sample solutions from community around the SharePoint Framework library component
33
star
50

tutorial-workspace-provisioning

Tutorial to create an end-to-end Office 365 groups provisioning solution
C#
31
star
51

mgt-samples

A curated collection of community-contributed samples using the Microsoft Graph Toolkit
29
star
52

pnpassessment

Microsoft 365 SharePoint Assessment tool enabling various deprecation and adoption scenarios
C#
26
star
53

powerplatform-snippets

Repository with snippets that can easily be used in some of the Power Platform products
24
star
54

sp-design-assets

Repository for different design assets for SharePoint
23
star
55

action-cli-login

GitHub action to login to a tenant using CLI for Microsoft 365
TypeScript
23
star
56

FilterPack

Web parts providing different filtering capabilities using SharePoint Framework Dynamic Data capability
TypeScript
23
star
57

action-cli-deploy

GitHub action to deploy an app using CLI for Microsoft 365
TypeScript
19
star
58

proxy-samples

Configuration presets and mocks for Dev Proxy
18
star
59

media

Logos and media files used in PnP work
17
star
60

m365-sample-gallery

Backend control and assets for the Microsoft 365 Sample Gallery - https://adoption.microsoft.com/sample-solution-gallery
17
star
61

action-cli-runscript

GitHub action to run a script using CLI for Microsoft 365
TypeScript
17
star
62

teams-quickstart

Build your Teams application with no install and minimal effort
Dockerfile
14
star
63

powerva-samples

Contains curated community samples for Microsoft Power Virtual Agents
14
star
64

contoso

Demo ISV Shipping to Microsoft365
C#
13
star
65

mgdc-spo-governance

Use the MGDC datasets to enable SharePoint admins / service owners to make data driven decisions around general SPO governance
PowerShell
13
star
66

m365-extensibility-lookbook

File and asset storage for the Microsoft 365 Extensibility Lookbook - Exposed at https://aka.ms/m365-extensibility-lookbook
12
star
67

Community-Tooling

Miscellaneous tools and solutions used for community work (automation, batch updates etc.)
C#
11
star
68

sp-alm-devops-extension

SharePoint ALM - Azure DevOps Extension
11
star
69

sp-js-provisioning

JavaScript Provisioning Library
JavaScript
10
star
70

OrchestratedProvisioning

Provisioning solution for simplifying ad-hoc provisioning requirements in enterprise level
JavaScript
10
star
71

PnP-IdentityModel

Repository for PnP Identity Model NuGet package
C#
10
star
72

PnP.SafeDesk365

SafeDesk 365 - Sample solution built with Microsoft 365
CSS
10
star
73

docs

Centralized landing page for links for PnP open-source project documentation
7
star
74

pnp.github.io

Root repository for the GitHub pages setup for https://pnp.github.io
JavaScript
7
star
75

CAML-Designer

Public repository for the CAML Designer tool
C#
6
star
76

Microsoft365-Analytics-Insights

Advanced Analytics data collection for M365 usage
C#
6
star
77

sp-livereload

SharePoint Framework Live Reloader
TypeScript
5
star
78

predictors

C#
4
star
79

addin-transformation-guidance

Documentation about SharePoint add-in Transformation Guidance
4
star
80

m365-partner-showcase

Partner Showcase Gallery
4
star
81

telemetry-proxy-node

PnP Node.js based telemetry proxy for Application Insights
Batchfile
4
star
82

prompt-pulse

Prompt Pulse is a free Microsoft Teams Power App enabling users to schedule and share Microsoft 365 Copilot prompts via Adaptive Cards to Teams, Group Chats and Viva Engage communities. It uses SharePoint as a data source.
4
star
83

telemetry-js

PnP JavaScript based telemetry
TypeScript
3
star
84

teams-birthday-bot

A birthday bot that is using Power Automate, SharePoint and Adaptive Cards
3
star
85

generator-microsoft365

Booking namespace for possible future usage
3
star
86

sp-onprem-search-health-reports

2
star
87

pnp-hugo-theme

A Hugo theme for PnP sites
SCSS
2
star
88

Microsoft365-Adoption-Gamification

Microsoft365-Adoption-Gamification - Solution coming up here soon - so exciting!
2
star
89

tmp-o365cli

Testing repo for o365cli
TypeScript
2
star
90

graph-samples

Primary objective is to work as aggregator on the Microsoft Graph samples for the Unified Microsoft 365 sample gallery
2
star
91

copilot-feedback-bot

Get real feedback from your organisations users about how copilot is helping, with "Copilot Feedback Bot".
C#
2
star
92

wsl2

PnP WSL2 is a PowerShell Module providing cmdlets designed to simplify WSL instances management experience.
2
star
93

generator-365

1
star
94

vscode-pnp-powershell

With the PnP PowerShell VS Code extension, you can quickly learn, code and create scripts that use PnP PowerShell commands.
HTML
1
star
95

copilot-pro-dev-samples

Community contributed samples for the Microsoft 365 Copilot. Contributions welcome.
1
star