How to get the version number of the OS in Node.js?
Originally Published Here ๐!
To get the version number of the OS, you can use the release() method from the os module in Node.js.
/* Get version number of os in Node.js */
// import os module
const os = require("os");
// get version number of os
c...
melvingeorge-me.hashnode.dev1 min read