In modern JavaScript, libraries are included using special package managers, which allow you to download libraries using terminal commands and independently resolve version conflicts.
Such manager in JavaScript is npm. It stands for Node Package Manager. It is designed to download and manage packages. Packages in npm terms are libraries that you download and include in your project.
If you have NodeJS installed, then npm is also automatically installed. You can verify this by running the following command:
npm --version
Open a terminal and make sure you already have npm installed.