Files
react-native-devtools-frontend/node_modules/figures
Tim van der Lippe 2a1ede5c26 Fix newline additions in package.json files in node_modules/
`manage_node_deps.py` was changed in
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2259834
to add line endings at the end of the package.json file

However, `npm run install-deps` was not rerun to add the line endings.
To prevent future CLs that add deps to include the line ending changes,
fix them in this CL.

R=mathias@chromium.org

Change-Id: Id4ee0003520c4aa0cb55494cdf64df57e31a86d7
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2263952
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Mathias Bynens <mathias@chromium.org>
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
2020-06-24 12:59:49 +00:00
..
2020-04-06 13:52:18 +00:00
2020-04-06 13:52:18 +00:00
2020-04-06 13:52:18 +00:00
2020-04-06 13:52:18 +00:00

figures Build Status

Unicode symbols with Windows CMD fallbacks

and more...

Windows CMD only supports a limited character set.

Install

$ npm install figures

Usage

See the source for supported symbols.

const figures = require('figures');

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

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

console.log(figures.main.tick);
// On all OSes:  ✔︎

console.log(figures.windows.tick);
// On all OSes:  √

API

figures(string)

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.

string

Type: string

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

figures.main

Symbols to use when not running on Windows.

figures.windows

Symbols to use when running on Windows.

Figures

Name Non-Windows 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 ♥ ♥
nodejs ⬢ ♦
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

Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.