I've found the answer already: 
http://stackoverflow.com/questions/13981938/print-all-available-node-js-modules/13982458#13982458

On Thursday, December 20, 2012 7:03:08 PM UTC-5, Andy Green wrote:
>
> I'm trying to write a script that prints the name of all installed modules 
> to the command line. In node.js, is there any way to find the location of 
> the module folder (with globally installed modules?)

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to