Tuj read about a nice article, requiring modules.

It is simple. Everything is a function... or json. Oops, sudden change of mind. require is a function that takes a string and returns the exports object of the module the string resolves to.