The package manager (npm or yarn) creates the node_modules directory to store the dependencies of your project.
npm
yarn
node_modules