How many levels of nested subfolders can be in a JavaScript project

Let’s figure it out by exploring the source code of major Node.js-based projects

It is convenient to organize code into a logical hierarchy of nested folders. A bigger task often can be decomposed into several nested smaller subtasks. The smallest discrete subtasks can be encoded in individual modules. Highly specialized tiny modules are easier to…