Intention on including or referencing node.js packages


When adding third party javascript libraries for node, I am curious what folks thoughts were on using the NPM package manager to go and fetch the libraries vs. copying them in to the repository. I've done both and I believe the right way is to simply reference them and let NPM go and get them. That does mean the ROV *has* to have internet access in order to update.

Any other thoughts or recommendations?


Would it be as simple as plugging the computer-side of the tether into an ethernet connected port and turning on the ROV? You could have it automatically check for internet access on startup and update if necessary after a certain time period.

That would make the packages stay up-to-date much better and make it easier on the ones managing the github too.