Thursday 23 April 2020

What happens after you install a package using `npm install`?

Hi everyone, im new to node.js and i’ve been trying to learn three.js. My question as the title says is what happens after i install a package? I created a project but i cant comprehend how does that package can be referenced in my javascript code. So in that case, what is the purpouse of globally installed packages? Should i install them locally to my project folder so that i can use them? Sorry if this seems very silly but i dont know where to ask and im having trouble understanding the resources online. Thankss

Submitted April 23, 2020 at 11:28PM by rogerpeke97

No comments:

Post a Comment