Opal-Estate-Pro/node_modules/homedir-polyfill/index.js
2019-09-13 11:27:52 +07:00

10 lines
168 B
JavaScript
Executable File

'use strict';
var os = require('os');
if (typeof os.homedir !== 'undefined') {
module.exports = os.homedir;
} else {
module.exports = require('./polyfill.js');
}