UNPKG

pnpm

Version:

Fast, disk space efficient package manager

17 lines (14 loc) 294 B
'use strict' var PATH // windows calls it's path 'Path' usually, but this is not guaranteed. if (process.platform === 'win32') { PATH = 'Path' Object.keys(process.env).forEach(e => { if (e.match(/^PATH$/i)) { PATH = e } }) } else { PATH = 'PATH' } module.exports = PATH