Skip to content

Latest commit

 

History

History
64 lines (27 loc) · 2.87 KB

README.md

File metadata and controls

64 lines (27 loc) · 2.87 KB

Office 365 Developer Patterns and Practices

JavaScript Core Component

npm version Join the chat at https://gitter.im/OfficeDev/PnP-JS-Core Downloads

The Patterns and Practices JavaScript Core Library was created to help developers by simplifying common operations within SharePoint. This is aligned with helping folks transitioning into client side development in support of the upcoming 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.

Please use http://aka.ms/OfficeDevPnP for getting latest information around the whole Office 365 Developer Patterns and Practices program.

Get Started

NPM

Add the npm package to your project

npm install sp-pnp-js --save-dev

Import the root object and start interacting with the SharePoint REST API

import pnp from "sp-pnp-js"
...
pnp.sp.web.select("Title").get().then(() => ...);

Bower

Add the package from bower

bower install sp-pnp-js

Get Help

We have active Yammer and Gitter communities dedicated to this library, please join the conversation to ask questions. If you find an issue with the library, please report it.

Wiki

Please see the wiki for tips on getting started, configuring your development environment, and using the library.

Authors

This project's contributors include Microsoft and community contributors. Work is done as as open source community 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 [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.