A singleton makes sense when it prevent multiple access to a resource than must not be accessed in that way. But sometimes a singleton design is used because it is sufficient for expected usage. But that may block expanded usage unecessarily.
ES6 dynamic import can import a singelton module into a closure allowing a singleton to become a non-singleton class. See the file
The result of test-yargs0class.mjs -