code: function getSymbols() {
      const isSupported = process.platform !== 'win32' || process.env.CI || process.env.TERM === 'xterm-256color';
  
      const main = {
          info: 'ℹ',
          success: '✔',
          warning: '⚠',
          error: '✖',
      };
  
      const fallbacks = {
          info: 'i',
          success: '√',
          warning: '‼',
          error: '×',
      };
  
      return isSupported ? main : fallbacks;
  }
docs: Copied and adapted from https://www.npmjs.com/package/log-symbols