js module export class code example
Example 1: how to export a class in node js
class TestClass {
}
module.exports.TestClass = TestClass;
Example 2: js class export
export class ClassName {...}
class TestClass {
}
module.exports.TestClass = TestClass;
export class ClassName {...}