Skip to content
Sections
>> Trisquel >> Packages >> nabia >> javascript >> node-cli-truncate
etiona  ] [  nabia  ] [  aramo  ]
[ Source: node-cli-truncate  ]

Package: node-cli-truncate (1.1.0-1)

Truncate a string to a specific width in the terminal

Gracefully handles ANSI escapes. Like a string styled with chalk. It also supports Unicode surrogate pairs and fullwidth characters.

Node.js is an event-based server-side JavaScript engine.

Other Packages Related to node-cli-truncate

  • depends
  • recommends
  • suggests
  • dep: node-slice-ansi (>= 1.0.0)
    Slice a string with ANSI escape codes
  • dep: node-string-width (>= 2.0.0)
    Get the visual width of a string
  • dep: nodejs
    evented I/O for V8 javascript - runtime executable
    also a virtual package provided by node-pegjs

Download node-cli-truncate

Download for all available architectures
Architecture Package Size Installed Size Files
all 3.8 kB17 kB [list of files]