RE: [nodejs] Newbie question: How to share basic functions (for error handling, logging etc.) between modules?

2012-09-14 Thread Chad Engler
I generally have a "common" module that is included everywhere. I think that is fairly common practice. -Chad From: nodejs@googlegroups.com [mailto:nodejs@googlegroups.com] On Behalf Of Aga Sent: Friday, September 14, 2012 10:53 AM To: nodejs@googlegroups.com Subject: [nodejs] Newbie questi

Re: [nodejs] Newbie question: How to share basic functions (for error handling, logging etc.) between modules?

2012-09-14 Thread Richard Rodger
Me too - I also put most of my requires in there too. Richard On 14 Sep 2012, at 17:05, "Chad Engler" wrote: > I generally have a “common” module that is included everywhere. I think that > is fairly common practice. > > -Chad > > From: nodejs@googlegroups.com [mailto:nodejs@googlegroups.