exports.nextTick = function nextTick(fn) {
  var args = Array.prototype.slice.call(arguments);
  args.shift();
  setTimeout(function () {
    fn.apply(null, args);
  }, 0);
};


exports.arch =
exports.execPath = exports.title = 'nanoapp-browser';
exports.pid = 1;
exports.getuid = ()=>{ return 1000; }
exports.browser = true;


exports.platform = "linux"

exports.env = globalThis.__nstd_env__;
exports.argv = [];

exports.binding = function (name) {
	throw new Error('No such module. (Possibly not yet loaded)')
};

(function () {
    var cwd = '/';
    var path;
    exports.cwd = function () { return cwd };
    exports.chdir = function (dir) {
        if (!path) path = require('path');
        cwd = path.resolve(dir, cwd);
    };
})();

exports.exit = exports.kill =
exports.umask = exports.dlopen =
exports.uptime = exports.memoryUsage =
exports.uvCounters = function() {};
exports.features = {};
