From aacc5b6f32a27cbf18a98eb5ea170de6cb4bd611 Mon Sep 17 00:00:00 2001 From: Gordon Freeman Date: Fri, 24 Jun 2016 17:53:15 +0300 Subject: [PATCH] realpathSync added --- fs.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); +};