How to Install and Uninstall node-wcwidth.js Package on Ubuntu 21.10 (Impish Indri)

Last updated: January 23,2025

1. Install "node-wcwidth.js" package

Please follow the instructions below to install node-wcwidth.js on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install node-wcwidth.js

2. Uninstall "node-wcwidth.js" package

Please follow the step by step instructions below to uninstall node-wcwidth.js on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove node-wcwidth.js $ sudo apt autoclean && sudo apt autoremove

3. Information about the node-wcwidth.js package on Ubuntu 21.10 (Impish Indri)

Package: node-wcwidth.js
Architecture: all
Version: 1.0.0-1.1
Priority: optional
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 23
Depends: nodejs, node-defaults (>= 1.0.0)
Filename: pool/universe/n/node-wcwidth.js/node-wcwidth.js_1.0.0-1.1_all.deb
Size: 6696
MD5sum: cd4340f2ffdbb19317d45441d95989a0
SHA1: 5848d3bd429b1e48f6ffea0bd2c83c6c045b1997
SHA256: 00ed30fcfab80f61a96a67456b98b4c066f3b7e37c5de3a8722773d8800e916c
SHA512: eb09385d6007731f40c55b91ecaeb1f21cfce0834e9723be317d0011579c8f25e4b4ab048d3c5b5a1613c28eab58b1cb3e47a1c4fce5f928953118b4b3d1c776
Homepage: http://code.woong.org/wcwidth.js
Description-en: wcwidth.js is a javascript porting of C's wcwidth()
wcwidth.js is a simple javascript porting of wcwidth()
implemented in C by Markus Kuhn.
.
wcwidth() and its string version, wcswidth() are defined by
IEEE Std 1002.1-2001, a.k.a. POSIX.1-2001, and return the
number of columns used to represent a wide character and
string on fixed-width output devices like terminals.
Markus's implementation assumes wide characters to be
encoded in ISO 10646, which is almost true for JavaScript;
almost because JavaScript uses UCS-2 and has problems
with surrogate pairs. wcwidth.js converts surrogate pairs
to Unicode code points to handle them correctly.
.
Node.js is an event-based server-side JavaScript engine.
Description-md5: dbaff7695566875d731712e43cf738ac