import os from 'os'; console.log(os.platform());