You could use https://github.com/dhruvbird/http-sync to emulate this behaviour. However, as Isaac mentioned, you might want to be careful with it. It's super convenient though.
On Tuesday, June 11, 2013 12:49:43 PM UTC-7, [email protected] wrote: > > > I'm reading JavaScript on the Server Using Node.js and Express. Having > just read the chapter on modules, it seems overly restrictive to make > require() refer only to files. It seems to me that a hosted module server > could be really useful in some applications. Would this be a node.js issue > or confined to JavaScript? > > -- -- 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 --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
