download
raw
415 Bytes
'use strict';
const pathKey = (options = {}) => {
const environment = options.env || process.env;
const platform = options.platform || process.platform;
if (platform !== 'win32') {
return 'PATH';
}
return Object.keys(environment).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';
};
module.exports = pathKey;
// TODO: Remove this for the next major release
module.exports.default = pathKey;

Xet Storage Details

Size:
415 Bytes
·
Xet hash:
d912f6c496438f782afc51fcf1209007919e1e6894f472d61bc7faee0aa68df4

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.