figures.js 341 B

123456789101112131415161718192021
  1. 'use strict';
  2. const main = {
  3. tick: '✔',
  4. cross: '✖',
  5. ellipsis: '…',
  6. pointerSmall: '›',
  7. line: '─',
  8. pointer: '❯'
  9. };
  10. const win = {
  11. tick: '√',
  12. cross: '×',
  13. ellipsis: '...',
  14. pointerSmall: '»',
  15. line: '─',
  16. pointer: '>'
  17. };
  18. const figures = process.platform === 'win32' ? win : main;
  19. module.exports = figures;