Then right-click over the speakers or headphones device you are using, choose "Set as Default Device" and click OK. For a more detailed walk-through of the above steps for Windows (or if that does not work for your version of Windows), see Windows: accessing the Windows Sound controls. James shows how to work with modules in Node.js, focusing on how to export and consume them, and explaining the difference between module.exports and exports. Exporting a Default Value. In the above example, we're exporting functions and values individually.