I have a question regarding requiring scripts to the NodeJS / Socket.IO Server.
In PHP I can add the line require('somefile.php');
Is there any option to include any JS files to the NodeJS/Socket.IO server? My server code currently has over 500 lines, I want to add a Require for each Socket.On to make it easier to read.
Is there a disadvantage?
Thanks, David :))