Package: wnpp
Severity: wishlist
Owner: Suhail P <
psuhailp@gmail.com>
X-Debbugs-CC:
debian-devel@lists.debian.org* Package name : node-wcwidth.js
Version : 1.0.0
Upstream Author : Woong Jun <
woong.jun@gmail.com> (
http://code.woong.org/)
* URL :
http://code.woong.org/wcwidth.js* License : Expat
Programming Lang: _javascript_
Description : wcwidth.js is _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.