Shorter files are better, but programming constructions like classes are not easy to be separated into different files (a.k.a. Node.js modules). Here’s a way to improve your code base and developer experience by splitting a class in smaller files. I’ve spent a while working with JavaScript/TypeScript and Node.js. One of…