Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to get os information nodejs

var os = require('os');

console.log(os.type()); // "Windows_NT"
console.log(os.release()); // "10.0.14393"
console.log(os.platform()); // "win32"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #os #information #nodejs
ADD COMMENT
Topic
Name
6+6 =