let isLinux = process.platform === 'linux';
let isFreeBSD = process.platform === 'freebsd';
let isOSX = process.platform === 'darwin';
let isSunOS = process.platform === 'sunos';

export { isLinux, isFreeBSD, isOSX, isSunOS }

const isLinux = process.platform === 'linux';
const isFreeBSD = process.platform === 'freebsd';
const isOSX = process.platform === 'darwin';
const isSunOS = process.platform === 'sunos';

export { isLinux, isFreeBSD, isOSX, isSunOS }

Use const instead of let
Use const instead of let
