ZYSzys / cn-len

Calculate the Chinese string length in command line.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cn-len

Build Status codecov NPM version NPM downloads js-standard-style license

Calculate the Chinese string length in command line.

Install

$ npm install -g cn-len

Usage

$ cn-len

  Usage
    cn-len <str> ...


$ cn-len 你好
# => '2

License

MIT © ZYSzys

About

Calculate the Chinese string length in command line.

License:MIT License


Languages

Language:JavaScript 100.0%