Please does os.type() returns the os type of the machine accessing the node application or the os type of the machine node is running on?
The machine node is running, obviously
"accessing" if you mean HTTP, the req object usually has the clients information, no guarantee that it includes OS, but mostly it does in the user agent header field
Обсуждают сегодня