Common SharePoint column Operations using PnP JavaScript Library

In this article, we will learn on how to use the PnP JS Core library to do CRUD operations for the SharePoint columns.

SharePoint Column also called as field, it is a simplified object in SharePoint used for categorizing the document or items in lists or libraries respectively across SharePoint to manage them in easier manner.
We can have a column to be shared between different lists called Site Column and also have a unique column only for specific list called List Column.

PnP JavaScript Library provides number of properties to access the SharePoint objects and methods to do Read Write operations to the SharePoint Objects. This library uses the SharePoint REST API development model to do all sort of SharePoint interactions. So this library only avail for SharePoint 2013+ and SharePoint Online.

Prerequisites

Before jump in to development, we have to understand and download required files to use PnP-JS-Core library.