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.
-
KeyboardJS
A JavaScript library for binding keyboard combos without the pain of key codes and key combo conflicts. -
log-update
Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc. -
insight
Helps you understand how your tool is being used by anonymously reporting usage metrics to Google Analytics. -
Dot Environment Sync
Sync dot env (.env, .env.dist, .env.default, .env.local) from default file to local file which ignore on git
Get performance insights in less than 4 minutes
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of figures or a related project?
README
figures 
Unicode symbols with Windows CMD fallbacks
[[](screenshot.png)](index.js)
[and more...](index.js)
Windows CMD only supports a limited character set.
Install
$ npm install figures
Usage
See the [source](index.js) 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 |
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.