https://github.com/zyszys/cn-len
Calculate the Chinese string length in command line.
https://github.com/zyszys/cn-len
chinese length node npm
Last synced: about 1 year ago
JSON representation
Calculate the Chinese string length in command line.
- Host: GitHub
- URL: https://github.com/zyszys/cn-len
- Owner: ZYSzys
- License: mit
- Created: 2018-09-27T02:47:51.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-27T17:00:19.000Z (over 1 year ago)
- Last Synced: 2024-10-27T20:05:42.656Z (over 1 year ago)
- Topics: chinese, length, node, npm
- Language: JavaScript
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cn-len
[](https://travis-ci.org/ZYSzys/cn-len)
[](https://codecov.io/gh/ZYSzys/cn-len?branch=master)
[](https://npmjs.com/package/cn-len)
[](https://npmjs.com/package/cn-len)
[](http://standardjs.com)
[](https://github.com/ZYSzys/cn-len/blob/master/LICENSE)
> Calculate the Chinese string length in command line.
## Install
```
$ npm install -g cn-len
```
## Usage
```sh
$ cn-len
Usage
cn-len ...
$ cn-len 你好
# => '2
```
## License
MIT © [ZYSzys](http://zyszys.top)