Sha256: c28be206d9f0c5b39e591bf2e74b948182c5a43c01ca9bdb8e4bf4550285d94b

Contents?: true

Size: 969 Bytes

Versions: 27

Compression:

Stored size: 969 Bytes

Contents

'use strict';

const isWindows = process.platform === 'win32';
const isLinux = process.platform === 'linux';

const windows = {
  bullet: '•',
  check: '√',
  cross: '×',
  ellipsis: '...',
  heart: '❤',
  info: 'i',
  line: '─',
  middot: '·',
  minus: '-',
  plus: '+',
  question: '?',
  questionSmall: '﹖',
  pointer: '>',
  pointerSmall: '»',
  warning: '‼'
};

const other = {
  ballotCross: '✘',
  bullet: '•',
  check: '✔',
  cross: '✖',
  ellipsis: '…',
  heart: '❤',
  info: 'ℹ',
  line: '─',
  middot: '·',
  minus: '-',
  plus: '+',
  question: '?',
  questionFull: '?',
  questionSmall: '﹖',
  pointer: isLinux ? '▸' : '❯',
  pointerSmall: isLinux ? '‣' : '›',
  warning: '⚠'
};

module.exports = isWindows ? windows : other;
Reflect.defineProperty(module.exports, 'windows', { enumerable: false, value: windows });
Reflect.defineProperty(module.exports, 'other', { enumerable: false, value: other });

Version data entries

27 entries across 26 versions & 9 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/ansi-colors/symbols.js
disco_app-0.18.0 test/dummy/node_modules/ansi-colors/symbols.js
disco_app-0.18.2 test/dummy/node_modules/ansi-colors/symbols.js
disco_app-0.16.1 test/dummy/node_modules/ansi-colors/symbols.js
disco_app-0.15.2 test/dummy/node_modules/ansi-colors/symbols.js
disco_app-0.18.4 test/dummy/node_modules/ansi-colors/symbols.js
disco_app-0.18.1 test/dummy/node_modules/ansi-colors/symbols.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/ansi-colors/symbols.js
disco_app-0.14.0 test/dummy/node_modules/ansi-colors/symbols.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/ansi-colors/symbols.js
tang-0.2.1 spec/tang_app/node_modules/ansi-colors/symbols.js
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/ansi-colors/symbols.js
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/ansi-colors/symbols.js
ruby2js-4.0.4 lib/tasks/testrails/node_modules/ansi-colors/symbols.js
ruby2js-4.0.3 lib/tasks/testrails/node_modules/ansi-colors/symbols.js
tang-0.2.0 spec/tang_app/node_modules/ansi-colors/symbols.js
tang-0.1.0 spec/tang_app/node_modules/ansi-colors/symbols.js
tang-0.0.9 spec/tang_app/node_modules/ansi-colors/symbols.js
enju_library-0.3.8 spec/dummy/node_modules/ansi-colors/symbols.js
learn_create-0.0.22 lib/templates/javascript_lab_template/node_modules/ansi-colors/symbols.js