cfonts VS string-width

Compare cfonts vs string-width and see what are their differences.

string-width

Get the visual width of a string - the number of columns required to display it (by sindresorhus)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
cfonts string-width
1 -
1,531 449
- -
6.8 5.3
2 months ago about 2 months ago
Rust JavaScript
GNU General Public License v3.0 only MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

cfonts

Posts with mentions or reviews of cfonts. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-03-05.
  • A Guide to CLIs with Node.js
    7 projects | dev.to | 5 Mar 2021
    Changing fonts are quite difficult through javascript and I spent a lot of time searching for a package that does just that. Thankfully, I got it. We'll be using the cfonts package. Go ahead and install it by running the following -

string-width

Posts with mentions or reviews of string-width. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning string-width yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

When comparing cfonts and string-width you can also consider the following projects:

Inquirer.js - A collection of common interactive command line user interfaces.

yargs - yargs the modern, pirate-themed successor to optimist.

cross-env

cli-table - Pretty unicode tables for the CLI with Node.JS

ascii-charts - Ansi charts for nodejs

vorpal - Node's framework for interactive CLIs

shelljs - :shell: Portable Unix shell commands for Node.js

get-stdin - Get stdin as a string or buffer

progress - Flexible ascii progress bar for nodejs

gulp-execa - Gulp.js command execution for humans

cli-columns - Columnated lists for the CLI. Unicode and ANSI safe.