I think it is sent to the client if it is not in the server folder. In response to one of the comments about sharing global variables, I used this template. Create the same global variable in the client and server folders, respectively, and once outside of these folders for any common code. Initialize the global variable at each location by testing to verify that it already exists.
MyVar = typeof MyVar === 'undefined' ? {} : MyVar;
Then just put the methods where you need them. For example, I will have a User object with a method that checks if the user is allowed. I will declare the method once on the global server of the server and once on the client global user. The methods are different because the server version checks the user properties of the user object that are not available on the client. Then, in the Meteor.methods method, which runs both on the client and on the server, you can call the authorization method, and it will call different methods depending on whether it works on the client or server.
source share