Just doing some reading about Node.js related I just discovered that the original Node.js modules are now referred to as .cjs (using require and module.export syntax) is OLD and with recent ECMA script versions is superseded by .mjs (using import / export syntax) are better and supported by all recent browsers and current Node.js.
So, I'm now determined to make this switchover as a major refactoring task.
My plan is to write some decent jest test cases for my current classes and get them all passing.
Then I will undertake this change.
PS. I'm also introducing the REFACTOR tag for issues. This will be one of the first.
Just doing some reading about Node.js related I just discovered that the original Node.js modules are now referred to as .cjs (using require and module.export syntax) is OLD and with recent ECMA script versions is superseded by .mjs (using import / export syntax) are better and supported by all recent browsers and current Node.js.
So, I'm now determined to make this switchover as a major refactoring task.
My plan is to write some decent jest test cases for my current classes and get them all passing.
Then I will undertake this change.
PS. I'm also introducing the REFACTOR tag for issues. This will be one of the first.