A lot of npm packages aren't longer than a typical stackoverflow answer, and they get used everywhere, to the point where installing a dozen packages can lead to tens of thousands of sub-packages being installed.
At that point, the packages are essentially "indexed snippets" of code.
At that point, the packages are essentially "indexed snippets" of code.