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

Re: Bug#842191: ITP: node-is-fullwidth-code-point -- Check if the character represented by a given Unicode code point is fullwidth



On Thursday 27 October 2016 02:21 AM, Adam Borowski wrote:
> On Thu, Oct 27, 2016 at 12:49:31AM +0530, suhail_p wrote:
>> * Package name    : node-is-fullwidth-code-point
>>   Upstream Author : Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com
>> )
>> * URL             :
>> https://github.com/sindresorhus/is-fullwidth-code-point#readme
>>   Description     : Check if a given Unicode point is fullwidth
>>
>>  A Nodejs modeule to check if the character represented by a given Unicode
>> code point is fullwidth
> 
> Wouldn't it be better to replace this with full wcwidth()?  That'd give you
> not only double-width chars but also controls ("width" -1), combining and
> non-spacing (width 0).
> 

It is a dependency for https://github.com/sindresorhus/string-width you
can suggest upstream to use this.

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: