I am starting a JavaScript project and its parent directory contains 2 folders: client
and server
. Both of these will require Javascript packages but I'm confused as to whether I should make a node_modules
folder in each of them for their respective dependencies or whether I should create only one and install all the packages there. Basically what I'm asking is whether I should do this:
or this: