1 # figures [![Build Status: Linux](https://travis-ci.org/sindresorhus/figures.svg?branch=master)](https://travis-ci.org/sindresorhus/figures) [![Build status: Windows](https://ci.appveyor.com/api/projects/status/mb743hl70269be3r/branch/master?svg=true)](https://ci.appveyor.com/project/sindresorhus/figures/branch/master)
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).
15 $ npm install --save figures
21 See the [source](index.js) for supported symbols.
24 const figures = require('figures');
26 console.log(figures('✔︎ check'));
27 // On real OSes: ✔︎ check
28 // On Windows: √ check
30 console.log(figures.tick);
40 Returns the input with replaced fallback unicode symbols on Windows.
42 All the below [figures](#figures) are attached to the main export as shown in the example above.
48 String where the unicode symbols will be replaced with fallback symbols depending on the OS.
53 | Name | Real OSes | Windows |
54 | ------------------ | :-------: | :-----: |
59 | squareSmall | ◻ | [ ] |
60 | squareSmallFilled | ◼ | [█] |
63 | circleFilled | ◉ | (*) |
64 | circleDotted | ◌ | ( ) |
65 | circleDouble | ◎ | ( ) |
66 | circleCircle | ⓞ | (○) |
67 | circleCross | ⓧ | (×) |
68 | circlePipe | Ⓘ | (│) |
69 | circleQuestionMark | ?⃝ | (?) |
73 | ellipsis | … | ... |
75 | pointerSmall | › | » |
80 | mustache | ෴ | ┌─┐ |
85 | arrowRight | → | → |
87 | radioOff | ◯ | ( ) |
88 | checkboxOn | ☒ | [×] |
89 | checkboxOff | ☐ | [ ] |
90 | checkboxCircleOn | ⓧ | (×) |
91 | checkboxCircleOff | Ⓘ | ( ) |
92 | questionMarkPrefix | ?⃝ | ? |
94 | oneThird | ⅓ | 1/3 |
95 | oneQuarter | ¼ | 1/4 |
96 | oneFifth | ⅕ | 1/5 |
97 | oneSixth | ⅙ | 1/6 |
98 | oneSeventh | ⅐ | 1/7 |
99 | oneEighth | ⅛ | 1/8 |
100 | oneNinth | ⅑ | 1/9 |
101 | oneTenth | ⅒ | 1/10 |
102 | twoThirds | ⅔ | 2/3 |
103 | twoFifths | ⅖ | 2/5 |
104 | threeQuarters | ¾ | 3/4 |
105 | threeFifths | ⅗ | 3/5 |
106 | threeEighths | ⅜ | 3/8 |
107 | fourFifths | ⅘ | 4/5 |
108 | fiveSixths | ⅚ | 5/6 |
109 | fiveEighths | ⅝ | 5/8 |
110 | sevenEighths | ⅞ | 7/8 |
115 MIT © [Sindre Sorhus](https://sindresorhus.com)