For example, if the file at '/home/ry/projects/foo.js' called require('bar.js'), then node would look in the following locations, in this order:
/home/ry/projects/node_modules/bar.js/home/ry/node_modules/bar.js/home/node_modules/bar.js [color added by me]/node_modules/bar.jsThat's fair, Isaac, to a point. We all have to trust someone and it comes down to ratios of risk/reward. I just don't like the idea of cross-user account contamination. The real risk may be very low, but the benefits are even smaller. If anyone is using /home/node_modules on purpose I would be a little surprised. Just my 2 cents, and I don't expect anything to change. But maybe this thread will encourage more ppl to read the docs. :)
Thanks
You received this message because you are subscribed to a topic in the Google Groups "nodejs" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nodejs/5BGr5dliUIk/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to nodejs+un...@googlegroups.com.
All true, Isaac. I cannot dispute your pragmatism. I come from the "if it isn't an asset, it's a liability" school, which is a great way to design but an agonized way to live. :) Thanks for the discussion.