figures alternatives and similar modules
Based on the "Command Line Utilities" category.
Alternatively, view figures alternatives based on common mentions on social networks and blogs.
-
nvm
Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions -
Inquirer.js
A collection of common interactive command line user interfaces. -
KeyboardJS
A JavaScript library for binding keyboard combos without the pain of key codes and key combo conflicts. -
omelette
Omelette is a simple, template based autocompletion tool for Node and Deno projects with super easy API. (For Bash, Zsh and Fish) -
log-update
Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc. -
configstore
Easily load and persist config without having to think about where and how -
insight
Node.js module to help you understand how your tool is being used by anonymously reporting usage metrics to Google Analytics -
columnify
Create text-based columns suitable for console output. Supports cell wrapping. -
Javascript library for 2d geometry
Javascript library for 2d geometry -
string-width
Get the visual width of a string - the number of columns required to display it -
multispinner
Multiple, simultaneous, individually controllable spinners for concurrent tasks in Node.js CLI programs -
loud-rejection
Make unhandled promise rejections fail loudly instead of the default silent fail -
googleauth
Create and load persistent Google authentication tokens for command-line apps -
licenseye
Node.js CLI tool to visualize an aggregate list of your dependencies' licenses -
cron-to-quartz
Node.js library to convert unix or linux CRON syntax to Quartz Scheduler
AWS Cloud-aware infrastructure-from-code toolbox [NEW]
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of figures or a related project?
README
figures
Unicode symbols with fallbacks for older terminals
[[](screenshot.png)](index.js)
[and more...](index.js)
Terminals such as Windows Console Host (and CMD) only support a limited character set.
Install
$ npm install figures
Usage
import figures, {replaceSymbols, mainSymbols, fallbackSymbols} from 'figures';
console.log(figures.tick);
// On terminals with Unicode symbols: โ๏ธ
// On other terminals: โ
console.log(figures.mainSymbols.tick);
// On all terminals: โ๏ธ
console.log(figures.fallbackSymbols.tick);
// On all terminals: โ
console.log(figures.replaceSymbols('โ๏ธ check'));
// On terminals with Unicode symbols: โ๏ธ check
// On other terminals: โ check
API
figures (default export)
Type: object
Symbols to use on any terminal.
mainSymbols
Symbols to use when the terminal supports Unicode symbols.
fallbackSymbols
Symbols to use when the terminal does not support Unicode symbols.
replaceSymbols(string)
Returns the input with replaced fallback Unicode symbols on older terminals.
All the below figures are attached to the default export as shown in the example above.
string
Type: string
String where the Unicode symbols will be replaced with fallback symbols depending on the terminal.
Figures
Fallback
characters are only shown when they differ from the Main
ones.
Name | Main | Fallback |
---|---|---|
tick | โ |
โ |
info | โน |
i |
warning | โ |
โผ |
cross | โ |
ร |
square | โ |
|
squareSmall | โป |
โก |
squareSmallFilled | โผ |
โ |
squareDarkShade | โ |
|
squareMediumShade | โ |
|
squareLightShade | โ |
|
squareTop | โ |
|
squareBottom | โ |
|
squareLeft | โ |
|
squareRight | โ |
|
squareCenter | โ |
|
circle | โฏ |
( ) |
circleFilled | โ |
(*) |
circleDotted | โ |
( ) |
circleDouble | โ |
( ) |
circleCircle | โ |
(โ) |
circleCross | โง |
(ร) |
circlePipe | โพ |
(โ) |
circleQuestionMark | ?โ |
(?) |
radioOn | โ |
(*) |
radioOff | โฏ |
( ) |
checkboxOn | โ |
[ร] |
checkboxOff | โ |
[ ] |
checkboxCircleOn | โง |
(ร) |
checkboxCircleOff | โพ |
( ) |
questionMarkPrefix | ?โ |
๏ผ |
bullet | โ |
|
dot | โค |
|
ellipsis | โฆ |
|
pointer | โฏ |
> |
pointerSmall | โบ |
โบ |
triangleUp | โฒ |
|
triangleUpSmall | โด |
|
triangleUpOutline | โณ |
โ |
triangleDown | โผ |
|
triangleDownSmall | โพ |
|
triangleLeft | โ |
โ |
triangleLeftSmall | โ |
|
triangleRight | โถ |
โบ |
triangleRightSmall | โธ |
|
lozenge | โ |
โฆ |
lozengeOutline | โ |
โ |
home | โ |
|
hamburger | โฐ |
โก |
smiley | ใก |
โบ |
mustache | เทด |
โโโ |
heart | โฅ |
|
star | โ
|
โถ |
play | โถ |
โบ |
musicNote | โช |
|
musicNoteBeamed | โซ |
|
nodejs | โฌข |
โฆ |
arrowUp | โ |
|
arrowDown | โ |
|
arrowLeft | โ |
|
arrowRight | โ |
|
arrowLeftRight | โ |
|
arrowUpDown | โ |
|
almostEqual | โ |
|
notEqual | โ |
|
lessOrEqual | โค |
|
greaterOrEqual | โฅ |
|
identical | โก |
|
infinity | โ |
|
subscriptZero | โ |
|
subscriptOne | โ |
|
subscriptTwo | โ |
|
subscriptThree | โ |
|
subscriptFour | โ |
|
subscriptFive | โ
|
|
subscriptSix | โ |
|
subscriptSeven | โ |
|
subscriptEight | โ |
|
subscriptNine | โ |
|
oneHalf | ยฝ |
|
oneThird | โ
|
|
oneQuarter | ยผ |
|
oneFifth | โ
|
|
oneSixth | โ
|
|
oneSeventh | โ
|
1/7 |
oneEighth | โ
|
|
oneNinth | โ
|
1/9 |
oneTenth | โ
|
1/10 |
twoThirds | โ
|
|
twoFifths | โ
|
|
threeQuarters | ยพ |
|
threeFifths | โ
|
|
threeEighths | โ
|
|
fourFifths | โ
|
|
fiveSixths | โ
|
|
fiveEighths | โ
|
|
sevenEighths | โ
|
|
line | โ |
|
lineBold | โ |
|
lineDouble | โ |
|
lineDashed0 | โ |
|
lineDashed1 | โ
|
|
lineDashed2 | โ |
|
lineDashed3 | โ |
|
lineDashed4 | โ |
|
lineDashed5 | โ |
|
lineDashed6 | โด |
|
lineDashed7 | โถ |
|
lineDashed8 | โธ |
|
lineDashed9 | โบ |
|
lineDashed10 | โผ |
|
lineDashed11 | โพ |
|
lineDashed12 | โ |
|
lineDashed13 | โ |
|
lineDashed14 | โ |
|
lineDashed15 | โ |
|
lineVertical | โ |
|
lineVerticalBold | โ |
|
lineVerticalDouble | โ |
|
lineVerticalDashed0 | โ |
|
lineVerticalDashed1 | โ |
|
lineVerticalDashed2 | โ |
|
lineVerticalDashed3 | โ |
|
lineVerticalDashed4 | โ |
|
lineVerticalDashed5 | โ |
|
lineVerticalDashed6 | โต |
|
lineVerticalDashed7 | โท |
|
lineVerticalDashed8 | โน |
|
lineVerticalDashed9 | โป |
|
lineVerticalDashed10 | โฝ |
|
lineVerticalDashed11 | โฟ |
|
lineDownLeft | โ |
|
lineDownLeftArc | โฎ |
|
lineDownBoldLeftBold | โ |
|
lineDownBoldLeft | โ |
|
lineDownLeftBold | โ |
|
lineDownDoubleLeftDouble | โ |
|
lineDownDoubleLeft | โ |
|
lineDownLeftDouble | โ |
|
lineDownRight | โ |
|
lineDownRightArc | โญ |
|
lineDownBoldRightBold | โ |
|
lineDownBoldRight | โ |
|
lineDownRightBold | โ |
|
lineDownDoubleRightDouble | โ |
|
lineDownDoubleRight | โ |
|
lineDownRightDouble | โ |
|
lineUpLeft | โ |
|
lineUpLeftArc | โฏ |
|
lineUpBoldLeftBold | โ |
|
lineUpBoldLeft | โ |
|
lineUpLeftBold | โ |
|
lineUpDoubleLeftDouble | โ |
|
lineUpDoubleLeft | โ |
|
lineUpLeftDouble | โ |
|
lineUpRight | โ |
|
lineUpRightArc | โฐ |
|
lineUpBoldRightBold | โ |
|
lineUpBoldRight | โ |
|
lineUpRightBold | โ |
|
lineUpDoubleRightDouble | โ |
|
lineUpDoubleRight | โ |
|
lineUpRightDouble | โ |
|
lineUpDownLeft | โค |
|
lineUpBoldDownBoldLeftBold | โซ |
|
lineUpBoldDownBoldLeft | โจ |
|
lineUpDownLeftBold | โฅ |
|
lineUpBoldDownLeftBold | โฉ |
|
lineUpDownBoldLeftBold | โช |
|
lineUpDownBoldLeft | โง |
|
lineUpBoldDownLeft | โฆ |
|
lineUpDoubleDownDoubleLeftDouble | โฃ |
|
lineUpDoubleDownDoubleLeft | โข |
|
lineUpDownLeftDouble | โก |
|
lineUpDownRight | โ |
|
lineUpBoldDownBoldRightBold | โฃ |
|
lineUpBoldDownBoldRight | โ |
|
lineUpDownRightBold | โ |
|
lineUpBoldDownRightBold | โก |
|
lineUpDownBoldRightBold | โข |
|
lineUpDownBoldRight | โ |
|
lineUpBoldDownRight | โ |
|
lineUpDoubleDownDoubleRightDouble | โ |
|
lineUpDoubleDownDoubleRight | โ |
|
lineUpDownRightDouble | โ |
|
lineDownLeftRight | โฌ |
|
lineDownBoldLeftBoldRightBold | โณ |
|
lineDownLeftBoldRightBold | โฏ |
|
lineDownBoldLeftRight | โฐ |
|
lineDownBoldLeftBoldRight | โฑ |
|
lineDownBoldLeftRightBold | โฒ |
|
lineDownLeftRightBold | โฎ |
|
lineDownLeftBoldRight | โญ |
|
lineDownDoubleLeftDoubleRightDouble | โฆ |
|
lineDownDoubleLeftRight | โฅ |
|
lineDownLeftDoubleRightDouble | โค |
|
lineUpLeftRight | โด |
|
lineUpBoldLeftBoldRightBold | โป |
|
lineUpLeftBoldRightBold | โท |
|
lineUpBoldLeftRight | โธ |
|
lineUpBoldLeftBoldRight | โน |
|
lineUpBoldLeftRightBold | โบ |
|
lineUpLeftRightBold | โถ |
|
lineUpLeftBoldRight | โต |
|
lineUpDoubleLeftDoubleRightDouble | โฉ |
|
lineUpDoubleLeftRight | โจ |
|
lineUpLeftDoubleRightDouble | โง |
|
lineUpDownLeftRight | โผ |
|
lineUpBoldDownBoldLeftBoldRightBold | โ |
|
lineUpDownBoldLeftBoldRightBold | โ |
|
lineUpBoldDownLeftBoldRightBold | โ |
|
lineUpBoldDownBoldLeftRightBold | โ |
|
lineUpBoldDownBoldLeftBoldRight | โ |
|
lineUpBoldDownLeftRight | โ |
|
lineUpDownBoldLeftRight | โ |
|
lineUpDownLeftBoldRight | โฝ |
|
lineUpDownLeftRightBold | โพ |
|
lineUpBoldDownBoldLeftRight | โ |
|
lineUpDownLeftBoldRightBold | โฟ |
|
lineUpBoldDownLeftBoldRight | โ |
|
lineUpBoldDownLeftRightBold | โ |
|
lineUpDownBoldLeftBoldRight | โ
|
|
lineUpDownBoldLeftRightBold | โ |
|
lineUpDoubleDownDoubleLeftDoubleRightDouble | โฌ |
|
lineUpDoubleDownDoubleLeftRight | โซ |
|
lineUpDownLeftDoubleRightDouble | โช |
|
lineCross | โณ |
|
lineBackslash | โฒ |
|
lineSlash | โฑ |
Other characters
If you cannot find the character you're looking for in the table above, please look at this full list of cross-platform terminal characters.
Unsupported terminals
The following terminals are not officially supported:
- xterm
- Linux Terminal (kernel)
- cmder
They can display most but not all of the symbols listed above.
Related
- log-symbols - Colored symbols for various log levels
Get professional support for this package with a Tidelift subscription Tidelift helps make open source sustainable for maintainers while giving companiesassurances about security, maintenance, and licensing for their dependencies.