diff --git a/fs.js b/fs.js index 4f5fa36..e59649e 100644 --- a/fs.js +++ b/fs.js @@ -14,4 +14,8 @@ exports.readFileSync = function(address) { } xhr.send(null); return output; -} +}; + +exports.realpathSync = function(path) { + return require('url').resolve('', path); +};