News for hackers. Stuff that matters.
Re:Effective use of Node.js and Socket.io for building a HTM... by latch on Friday March 16, 2012 @09:35AM (#3713209)
-g if you want to make it globally accessible.
Re:Effective use of Node.js and Socket.io for building a HTM... by majke on Friday March 16, 2012 @10:19AM (#3713400)
Yeah, but there is not much value in installing socket.io globally, as you can't require() it. It makes sense only for executables like coffee-script

http://npmjs.org/doc/faq.html#I-installed-something-globally...

Re:Effective use of Node.js and Socket.io for building a HTM... by ecto on Friday March 16, 2012 @02:13PM (#3714517)
You can definitely require() modules after installing them globally.

https://github.com/joyent/node/blob/master/lib/module.js