This repository has been archived on 2020-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
|
'use strict';
|
|
|
|
var os = require('os');
|
|
if (typeof os.homedir !== 'undefined') {
|
|
module.exports = os.homedir;
|
|
} else {
|
|
module.exports = require('./polyfill.js');
|
|
}
|
|
|