Something I spotted today on booting a node script on the Edison (if not using XDK)
The point of interest for me is the line:
I'm guessing that this stores the node modules in the lib folders as previously when I've used NPM to install node packages I've spotted it has been putting them under /home.
It looks like we can set this using:
There also seems to be an "npm -g" option but others seem to recommend against this.
Any thoughts or recommendations on best practice for the Edison?