# Dependencies in a package.json file in JavaScript

When installing packages, npm creates the special `package.json` file in which it lists all installed dependencies and their versions.

For example, if we have the jquery and lodash libraries installed, then this file may look like this:

`{ "dependencies": { "jquery": "^3.6.1", "lodash": "^4.17.21" } }`

Install the jQuery and underscorejs libraries. Examine a `package.json` file.

←→
↑
en ru