Is it possible to install nodejs packages (/modules) from files like in ruby's Gemfile as done with bundle install or python's requirements file (eg: requirements.pip) as done using pip install -r commands ?
Say I have a file where three or four package names are listed.
How would I instruct npm to install packages whose names are found in that file (and resolve dependencies which it also does)?
bundle installandpip install -ralternatives if you are familiar with those languages.npm install <package> --savepackage.jsonfile to keep all the packages I need inside of it and then install all of them with a singlenpm installcommand.