What is the purpose of a package manager like npm or Yarn in full-stack JavaScript development?
-
A
To compile TypeScript to JavaScript
-
B
To manage, install, and version third-party libraries
-
C
To minify and bundle CSS files for production
-
D
To provision cloud infrastructure automatically