For the projects Node.js the file is www?

Good day! Tell me what and where to read or watch to understand what the project is created the bin folder with the file www
How to create it and the like. Thank you!
March 20th 20 at 11:22
1 answer
March 20th 20 at 11:24
Well, firstly it is not always created, but only some scaffolding, like express-generator, koa-generator.
It's just a startup file, executable file in Linux, with instructions (!#) what to open it with a node.js.
Historically what it's called www, but not necessarily, in some frameworks it is not.

The launch separated from app.js to be able to start an instance of Express differently, for testing for example.

Find more questions by tags JavaScriptNode.js