Created
March 19, 2013 22:53
-
-
Save cjhanks/5200905 to your computer and use it in GitHub Desktop.
Windows Server Test for OS module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var os = require ('os'); | |
for (var i in os) { | |
console . log ('-------------------------------------------------------------------'); | |
console . log (i); | |
console . log ((typeof os[i] === 'function') ? os[i]() : os[i]); | |
} |
Author
cjhanks
commented
Mar 19, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment