Just wrap them in an object literal. In pure JS (without CoffeeScript) that would be:

module.exports = {
    Page: {}, // or whatever you want to assign it to
    Serialize: {} // again, set it to what you like
};

In coffeescript you use indents, except when you want to make an empty object:

module.exports =
  Page: {},
  Serialize: {}
Answer from Slavo on Stack Overflow
Discussions

Declare multiple module.exports in Node.js - Stack Overflow
3 Exporting multiple functions in one module in NodeJS More on stackoverflow.com
๐ŸŒ stackoverflow.com
Can I export more than one object using module.exports?
Question Can I export more than one object using module.exports? Answer We can export more than one object using module.exports by giving the object we export properties that are assigned to objects, a few examples: Creating an object to export where the properties are assigned to other objects: ... More on discuss.codecademy.com
๐ŸŒ discuss.codecademy.com
0
5
November 28, 2018
How to export multiple object from files - javascript
Communities for your favorite technologies. Explore all Collectives ยท Ask questions, find answers and collaborate at work with Stack Overflow for Teams More on stackoverflow.com
๐ŸŒ stackoverflow.com
Named exports of functions vs default export object with functions inside?
Named exports. It's easier to see what's exported, and the interop with CommonJS is easier. More on reddit.com
๐ŸŒ r/node
23
39
November 25, 2021
๐ŸŒ
SitePoint
sitepoint.com โ€บ blog โ€บ javascript โ€บ understanding module.exports and exports in node.js
Understanding module.exports and exports in Node.js โ€” SitePoint
January 29, 2024 - Exporting and Consuming Modules: The article provides a comprehensive guide on how to create, export, and consume modules in Node.js. It explains the syntax variations in exporting multiple methods and values, the use of module.exports for default exports, and the subtle differences between module.exports and exports.
๐ŸŒ
Jaketrent
jaketrent.com โ€บ post โ€บ mixing-module-exports-exports
Mixing module.exports with exports - Jake Trent
In a-module.js, you would export ... identified by some name in that collection. To get multiple exports another way, you could group them together in a single object and export that....
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ javascript โ€บ how-to-export-multiple-values-or-elements-in-a-module
How to export multiple values or elements in a Module ? - GeeksforGeeks
June 18, 2024 - The most common method to export multiple values is to package them into an object. This allows you to group related values together and export them as a single entity. // math.js const add = (a, b) => a + b; const subtract = (a, b) => a - b; ...
๐ŸŒ
Node.js
nodejs.org โ€บ api โ€บ modules.html
Modules: CommonJS modules | Node.js v25.9.0 Documentation
With it, "partially done" objects can be returned, thus allowing transitive dependencies to be loaded even when they would cause cycles. To have a module execute code multiple times, export a function, and call that function. Modules are cached based on their resolved filename.
๐ŸŒ
Codecademy Forums
discuss.codecademy.com โ€บ frequently asked questions โ€บ javascript faq
Can I export more than one object using module.exports?
November 28, 2018 - Answer We can export more than one object using module.exports by giving the object we export properties that are assigned to objects, a few examples: Creating an object to export where the properties are assigned to other objects: let MainObject ...
Find elsewhere
๐ŸŒ
YouTube
youtube.com โ€บ watch
Exporting Multiple JavaScript Functions from a Node Module - YouTube
We are going to build on our last tutorial and look at how you can export more than one item from a node module. This is done using an object.For more resour...
Published ย  January 30, 2019
๐ŸŒ
Ronald James
ronaldjamesgroup.com โ€บ article โ€บ exporting-multiple-items-from-a-module
Exporting Multiple Items From A Module | Ronald James
Now the count property of this module.exports object will be containing the function definition of our counting function. And therefore, in this way, we can add other properties for including all other functions in our utility module.
๐ŸŒ
KnowledgeHut
knowledgehut.com โ€บ home โ€บ blog โ€บ web development โ€บ how to export node.js modules using exports
How to Export Node.js Modules Using Exports
September 13, 2023 - Use module.exports for exporting multiple items and use exports to export single items easily. ... Yes, they are similar in performance and result but different in syntax. Their items can be imported similarly as well.
๐ŸŒ
Stack Abuse
stackabuse.com โ€บ how-to-use-module-exports-in-node-js
How to use module.exports in Node.js
July 8, 2024 - If you are not familiar with using classes or other Node.js fundamentals, you can take a look at our Node.js for beginners guide. In the following example, we create a Cat class which contains a name and age for Cat objects. Then we export the Cat class by attaching it as a property of the module.exports object.
๐ŸŒ
CopyProgramming
copyprogramming.com โ€บ howto โ€บ nodejs-how-to-export-multiple-objects
Exporting Multiple Objects in Nodejs: A Guide - Coffeescript
September 2, 2023 - Ask Question Asked 5 years, 7 and that if you're hoping to get a different random value by executing the code multiple times, that you may want to set it up more like: module.exports = function() { return arrays[Math.floor(Math.random()*arrays.length)]; } so that the โ€ฆ
๐ŸŒ
MDN Web Docs
developer.mozilla.org โ€บ en-US โ€บ docs โ€บ Web โ€บ JavaScript โ€บ Reference โ€บ Statements โ€บ export
export - JavaScript - MDN Web Docs
July 29, 2025 - If there are two wildcard exports statements that implicitly re-export the same name, neither one is re-exported. ... // -- mod1.js -- export const a = 1; // -- mod2.js -- export const a = 3; // -- barrel.js -- export * from "./mod1.js"; export * from "./mod2.js"; // -- main.js -- import * as ns from "./barrel.js"; console.log(ns.a); // undefined
๐ŸŒ
Medium
rayyanx95.medium.com โ€บ understanding-the-tricky-module-exports-and-exports-in-node-js-5f48bf515c40
Understanding the tricky module.exports and exports in Node.js | by Ibrahim AlRayyan | Medium
April 9, 2021 - So, using module.exports and exports in the same file overrides the value of exports. And should not use both of them in the same file or module. When the require() function is called to the same module in multiple files, the module has to be loaded once only. Next time a require() function is called on the same module then pulls from the cache. The require() function loads modules synchronously. Suppose, it loads modules asynchronously, we could not access the objects in the right way.
๐ŸŒ
Atomizedobjects
atomizedobjects.com โ€บ blog โ€บ javascript โ€บ how-to-export-multiple-functions-in-javascript
How to export multiple functions in JavaScript | Atomized Objects
August 27, 2021 - As you can see in this example exporting multiple functions with JavaScript is pretty easy, this type of exporting is known as named exports. When it comes to importing these functions all you have to do is reference them as if the module is an object that you need to destructure. Here is an example of how to import multiple functions in JavaScript from a single module: import { exampleFunctionOne, exampleFunctionTwo } from "./some-js-file"
๐ŸŒ
LaunchCode
education.launchcode.org โ€บ intro-to-professional-web-dev โ€บ chapters โ€บ modules โ€บ exporting.html
13.4. Exporting Modules โ€” Introduction to Professional Web Development in JavaScript documentation
Instead of setting up a single function, we will create an object. ... module.exports = { isPalindrome: isPalindrome, evenOrOdd: evenOrOdd, randomArrayElement: randomArrayElement } Within the {}, we create a series of key:value pairs. The keys will be the names used in index.js to call the functions. The values are the functions themselves. ... We do not have to make the key match the name of the function, but doing so helps maintain consistency between files. ... This will NOT work, because Node expects only ONE module.exports statement in a file.
๐ŸŒ
DEV Community
dev.to โ€บ thomasfinch__ โ€บ nodejs-moduleexports-vs-exports-17l4
Node.js - module.exports vs exports - DEV Community
June 2, 2023 - Before any code execution, Node.js will wrap all the code in each JS file inside a function wrapper. This function wrapper ensures that all functions, classes, variables, and objects remain private unless explicitly stated otherwise. Each function wrapper is passed the following parameters that are accessible to the code written in the file, exports, require, module, __filename, and __dirname . The module parameter is simply an object that represents the current module and contains multiple properties including exports.
๐ŸŒ
YouTube
youtube.com โ€บ watch
How to Create, Export and Import Module in Node js || How to Export Multiple Module in Node js - YouTube
In Node.js, modules allow you to organize and structure your code by dividing it into separate files. Here's a complete description of how to create, export,...
Published ย  January 13, 2025