1 # figures [![Build Status](https://travis-ci.org/sindresorhus/figures.svg?branch=master)](https://travis-ci.org/sindresorhus/figures)
3 > Unicode symbols with Windows CMD fallbacks
5 [![](screenshot.png)](index.js)
7 [*and more...*](index.js)
9 Windows CMD only supports a [limited character set](http://en.wikipedia.org/wiki/Code_page_437).
19 See the [source](index.js) for supported symbols.
22 const figures = require('figures');
24 console.log(figures('✔︎ check'));
25 // On non-Windows OSes: ✔︎ check
26 // On Windows: √ check
28 console.log(figures.tick);
29 // On non-Windows OSes: ✔︎
32 console.log(figures.main.tick);
35 console.log(figures.windows.tick);
43 Returns the input with replaced fallback Unicode symbols on Windows.
45 All the below [figures](#figures) are attached to the main export as shown in the example above.
51 String where the Unicode symbols will be replaced with fallback symbols depending on the OS.
55 Symbols to use when not running on Windows.
59 Symbols to use when running on Windows.
64 | Name | Non-Windows | Windows |
65 | ------------------ | :---------: | :-----: |
70 | squareSmall | ◻ | [ ] |
71 | squareSmallFilled | ◼ | [█] |
74 | circleFilled | ◉ | (*) |
75 | circleDotted | ◌ | ( ) |
76 | circleDouble | ◎ | ( ) |
77 | circleCircle | ⓞ | (○) |
78 | circleCross | ⓧ | (×) |
79 | circlePipe | Ⓘ | (│) |
80 | circleQuestionMark | ?⃝ | (?) |
84 | ellipsis | … | ... |
86 | pointerSmall | › | » |
91 | mustache | ෴ | ┌─┐ |
97 | arrowRight | → | → |
99 | radioOff | ◯ | ( ) |
100 | checkboxOn | ☒ | [×] |
101 | checkboxOff | ☐ | [ ] |
102 | checkboxCircleOn | ⓧ | (×) |
103 | checkboxCircleOff | Ⓘ | ( ) |
104 | questionMarkPrefix | ?⃝ | ? |
105 | oneHalf | ½ | 1/2 |
106 | oneThird | ⅓ | 1/3 |
107 | oneQuarter | ¼ | 1/4 |
108 | oneFifth | ⅕ | 1/5 |
109 | oneSixth | ⅙ | 1/6 |
110 | oneSeventh | ⅐ | 1/7 |
111 | oneEighth | ⅛ | 1/8 |
112 | oneNinth | ⅑ | 1/9 |
113 | oneTenth | ⅒ | 1/10 |
114 | twoThirds | ⅔ | 2/3 |
115 | twoFifths | ⅖ | 2/5 |
116 | threeQuarters | ¾ | 3/4 |
117 | threeFifths | ⅗ | 3/5 |
118 | threeEighths | ⅜ | 3/8 |
119 | fourFifths | ⅘ | 4/5 |
120 | fiveSixths | ⅚ | 5/6 |
121 | fiveEighths | ⅝ | 5/8 |
122 | sevenEighths | ⅞ | 7/8 |
127 - [log-symbols](https://github.com/sindresorhus/log-symbols) - Colored symbols for various log levels
133 <a href="https://tidelift.com/subscription/pkg/npm-figures?utm_source=npm-figures&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
137 Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.