[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#845240: ITP: node-string-width -- Get the visual width of a string



Package: wnpp
Severity: wishlist
Owner: Paolo Greppi <paolo.greppi@libpf.com>
X-Debbugs-Cc: paolo.greppi@libpf.com, debian-devel@lists.debian.org,
pkg-javascript-devel@lists.alioth.debian.org

* Package name    : node-string-width
  Version         : 2.0.0
  Upstream Author : Sindre Sorhus <sindresorhus@gmail.com> sindresorhus.com)
* URL             : https://github.com/sindresorhus/string-width
* License         : Expat
  Programming Lang: JavaScript
  Description     : Get the visual width of a string

 Some Unicode characters are use more or less than the normal width when
output to the command-line.
 .
 This nodejs module gets the visual width of a string i.e. the actual
number of columns required to display it.
 .
 Node.js is an event-based server-side JavaScript engine.

The interest in this module is that it is required for yargs which in
turn is required for updating uglifyjs (see
https://lists.alioth.debian.org/pipermail/pkg-javascript-devel/2016-November/015501.html)

The plan is:
1. to maintain it inside the JavaScript packaging team
2. to host the code in a git repo on alioth
3. to patch it to replace the dependency on is-fullwidth-code-point with
node-wcwidth.js (https://packages.debian.org/sid/node-wcwidth.js) as per
this suggestion: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842191#10


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: