CityBEM-CityLayers-SaeedRay.../node_modules/homedir-polyfill/index.js

10 lines
168 B
JavaScript
Raw Normal View History

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