Re: [nodejs] a pakage that exports few modules

2013-01-17 Thread listas
I found this thread while looking for the reason why the "directories.lib" was dropped a couple years ago (reason: https://groups.google.com/d/topic/nodejs/hAoPAPz4J1k/discussion). While Izaacs have some pretty good points I still want this feature into node core... Other CommonJS environments

Re: [nodejs] a pakage that exports few modules

2013-01-18 Thread listas
I know that, to quote my previous e-mail: > The issue is not about the extra 4 chars ("lib/") but about having different require paths depending on the environment, code will be less portable. I don't want `require("kitchen-sink/lib/foo")` on one environment and `require("kitchen-sink/foo")`