Forum Discussion

Pavel2235's avatar
Pavel2235
Brass Contributor
Oct 01, 2023

Create Sharepoint library using pnp js

Hi!
I want to create Sharepoint library, using pnp js, but when I try to run my code, Sharepoint list created. 

await sp.web.lists.add("My Lib", "This is a description of doc lib.", 101, true, { OnQuickLaunch: true });


Could you tell me please, how can I create library?

Resources