| exports.endianness = function () { return 'LE' }; |
| exports.hostname = function () { |
| if (typeof location !== 'undefined') { |
| exports.loadavg = function () { return [] }; |
| exports.uptime = function () { return 0 }; |
| exports.freemem = function () { |
| exports.totalmem = function () { |
| exports.cpus = function () { return [] }; |
| exports.type = function () { return 'Browser' }; |
| exports.release = function () { |
| if (typeof navigator !== 'undefined') { |
| return navigator.appVersion; |
| exports.networkInterfaces |
| = exports.getNetworkInterfaces |
| = function () { return {} }; |
| exports.arch = function () { return 'javascript' }; |
| exports.platform = function () { return 'browser' }; |
| exports.tmpdir = exports.tmpDir = function () { |
| exports.homedir = function () { |