var path = require('path') console.log(path.resolve(path.dirname(__dirname)))