4 ms·
It's definitely bloody on the bleeding edge :) Here's a link to the node_modules loading algorithm since v0.4, if you haven't checked it out, it's worth the qu
by KrisJordan 15y ago
It's definitely bloody on the bleeding edge :)
Here's a link to the node_modules loading algorithm since v0.4, if you haven't checked it out, it's worth the quick read: http://nodejs.org/docs/latest/api/modules.html#loading_from_node_modules_Folders http://nodejs.org/docs/latest/api/modules.html#loading_from_...
This module loading algorithm is what opens the door for npm to install nested dependencies in recursive node_modules subdirectories.