Require is a Node specific function letting you add exported functionality and/or data from other modules. The function takes an argument for the module location. The ".js" file extension is optional. It's also a good practice to use constants when assigning required modules.
#node#module
constsettings=require('./settings.js');// This works the same wayconstsettings=require('./settings');