Server IP : 185.86.78.101 / Your IP : 216.73.216.124 Web Server : Apache System : Linux 675867-vds-valikoshka1996.gmhost.pp.ua 5.4.0-150-generic #167-Ubuntu SMP Mon May 15 17:35:05 UTC 2023 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /www/wwwroot/mifepriston.org/node_modules/figures/ |
Upload File : |
# figures [](https://travis-ci.org/sindresorhus/figures) [](https://ci.appveyor.com/project/sindresorhus/figures/branch/master) > Unicode symbols with Windows CMD fallbacks [](index.js) [*and more...*](index.js) Windows CMD only supports a [limited character set](http://en.wikipedia.org/wiki/Code_page_437). ## Install ``` $ npm install --save figures ``` ## Usage See the [source](index.js) for supported symbols. ```js 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](#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](https://sindresorhus.com)