Truncate a string to a specific width in the terminal (by sindresorhus)


Basic cli-truncate repo stats
4 months ago

sindresorhus/cli-truncate is an open source project licensed under MIT License which is an OSI approved license.

Cli-truncate Alternatives

Similar projects and alternatives to cli-truncate based on common topics and language

  • GitHub repo Commander.js

    node.js command-line interfaces made easy

  • GitHub repo chalk

    🖍 Terminal string styling done right

  • GitHub repo Inquirer.js

    A collection of common interactive command line user interfaces.

  • GitHub repo shelljs

    :shell: Portable Unix shell commands for Node.js

  • GitHub repo blessed

    A high-level terminal interface library for node.js.

  • GitHub repo yargs

    yargs the modern, pirate-themed successor to optimist.

  • GitHub repo ora

    Elegant terminal spinner

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better cli-truncate alternative or higher similarity.


Posts where cli-truncate has been mentioned. We have used some of these posts to build our list of alternatives and similar projects.

We don't know posts mentioning cli-truncate yet. We started tracking mentions in Dec 2020.