| 1 |
Source: node-wcwidth.js |
| 2 |
Section: javascript |
| 3 |
Priority: optional |
| 4 |
Maintainer: Debian Javascript Maintainers <[email protected]> |
| 5 |
Uploaders: Suhail P <[email protected]> |
| 6 |
Build-Depends: debhelper-compat (= 13) |
| 7 |
, dh-sequence-nodejs |
| 8 |
, node-defaults <!nocheck> |
| 9 |
, node-tape <!nocheck> |
| 10 |
Standards-Version: 4.6.0 |
| 11 |
Vcs-Browser: https://salsa.debian.org/js-team/node-wcwidth.js |
| 12 |
Vcs-Git: https://salsa.debian.org/js-team/node-wcwidth.js.git |
| 13 |
Homepage: http://code.woong.org/wcwidth.js |
| 14 |
Testsuite: autopkgtest-pkg-nodejs |
| 15 |
Rules-Requires-Root: no |
| 16 |
|
| 17 |
Package: node-wcwidth.js |
| 18 |
Architecture: all |
| 19 |
Depends: ${misc:Depends} |
| 20 |
, node-defaults |
| 21 |
Multi-Arch: foreign |
| 22 |
Description: wcwidth.js is a javascript porting of C's wcwidth() |
| 23 |
wcwidth.js is a simple javascript porting of wcwidth() |
| 24 |
implemented in C by Markus Kuhn. |
| 25 |
. |
| 26 |
wcwidth() and its string version, wcswidth() are defined by |
| 27 |
IEEE Std 1002.1-2001, a.k.a. POSIX.1-2001, and return the |
| 28 |
number of columns used to represent a wide character and |
| 29 |
string on fixed-width output devices like terminals. |
| 30 |
Markus's implementation assumes wide characters to be |
| 31 |
encoded in ISO 10646, which is almost true for JavaScript; |
| 32 |
almost because JavaScript uses UCS-2 and has problems |
| 33 |
with surrogate pairs. wcwidth.js converts surrogate pairs |
| 34 |
to Unicode code points to handle them correctly. |
| 35 |
. |
| 36 |
Node.js is an event-based server-side JavaScript engine. |