strwidth

0.1.0 • Public • Published

使用方式 | Usage

var strwidth=require('strwidth');
 
strwidth('a');//return 1
strwidth('abc');//return 3
strwidth('中文');//return 4
strwidth('\r\n');//return 0

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i strwidth

      Weekly Downloads

      2

      Version

      0.1.0

      License

      MIT

      Last publish

      Collaborators

      • a0000778