A
A
Anim8262021-02-06 11:19:38
JavaScript
Anim826, 2021-02-06 11:19:38

Why are there so many files when installing with npm/npx/yarn?

Previously, when I installed something via npm/npx/yarn, it was of normal speed, not fast but not slow, but lately, when I downloaded different packages, I start downloading 30-40k sometimes more.
yhv57w

I xs with what it is connected even. D:

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2021-02-06
@Anim826

It all depends on the packages you download. One small library can contain dozens of dependencies.
You didn't write anything specific. It's one thing when you download the left packages, install and wonder how much weight. Another thing is when you install your blank and, instead of the usual 15 kilobytes, 115 kilobytes arrived. Then yes, something strange and it’s worth checking the package docks, it’s exactly written there why ten times more weight

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question