Files
react-native-devtools-frontend/node_modules/figures
Lorne Mitchell db3885dd80 Revert "Updates node_modules and update script"
This reverts commit 4df552c652.

Reason for revert: Breaks esprima.

Original change's description:
> Updates node_modules and update script
> 
> Change-Id: I3fcf49bc416301a030d298cfc48c448bfeba4335
> Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1878808
> Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
> Reviewed-by: Yang Guo <yangguo@chromium.org>
> Commit-Queue: Paul Lewis <aerotwist@chromium.org>

TBR=yangguo@chromium.org,aerotwist@chromium.org,tvanderlippe@chromium.org

Change-Id: Iad2bcdf98a486476715d1e829cdce450c5f218af
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1880098
Reviewed-by: Lorne Mitchell <lomitch@microsoft.com>
Commit-Queue: Lorne Mitchell <lomitch@microsoft.com>
2019-10-24 21:53:24 +00:00
..
2019-10-21 08:08:56 +02:00
2019-10-21 08:08:56 +02:00
2019-10-21 08:08:56 +02:00

figures Build Status: Linux Build status: Windows

Unicode symbols with Windows CMD fallbacks

and more...

Windows CMD only supports a limited character set.

Install

$ npm install --save figures

Usage

See the source for supported symbols.

const figures = require('figures');

console.log(figures('✔︎ check'));
// On real OSes:  ✔︎ check
// On Windows:    √ check

console.log(figures.tick);
// On real OSes:  ✔︎
// On Windows:    √

API

figures(input)

Returns the input with replaced fallback unicode symbols on Windows.

All the below figures are attached to the main export as shown in the example above.

input

Type: string

String where the unicode symbols will be replaced with fallback symbols depending on the OS.

Figures

Name Real OSes Windows
tick ✔ √
cross ✖ ×
star ★ *
square ▇ █
squareSmall ◻ [ ]
squareSmallFilled ◼ [█]
play ▶ ►
circle ◯ ( )
circleFilled ◉ (*)
circleDotted ◌ ( )
circleDouble ◎ ( )
circleCircle ⓞ (○)
circleCross ⓧ (×)
circlePipe Ⓘ (│)
circleQuestionMark ?⃝ (?)
bullet ● *
dot ․ .
line ─ ─
ellipsis … ...
pointer ❯ >
pointerSmall › »
info ℹ i
warning ⚠ ‼
hamburger ☰ ≡
smiley ㋡ ☺
mustache ෴ ┌─┐
heart ♥ ♥
arrowUp ↑ ↑
arrowDown ↓ ↓
arrowLeft ← ←
arrowRight → →
radioOn ◉ (*)
radioOff ◯ ( )
checkboxOn ☒ [×]
checkboxOff ☐ [ ]
checkboxCircleOn ⓧ (×)
checkboxCircleOff Ⓘ ( )
questionMarkPrefix ?⃝ ?
oneHalf ½ 1/2
oneThird ⅓ 1/3
oneQuarter ¼ 1/4
oneFifth ⅕ 1/5
oneSixth ⅙ 1/6
oneSeventh ⅐ 1/7
oneEighth ⅛ 1/8
oneNinth ⅑ 1/9
oneTenth ⅒ 1/10
twoThirds ⅔ 2/3
twoFifths ⅖ 2/5
threeQuarters ¾ 3/4
threeFifths ⅗ 3/5
threeEighths ⅜ 3/8
fourFifths ⅘ 4/5
fiveSixths ⅚ 5/6
fiveEighths ⅝ 5/8
sevenEighths ⅞ 7/8

License

MIT © Sindre Sorhus