Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/susisu/meaw-cli
A CLI to check characters' Unicode EAW properties :cat2:
https://github.com/susisu/meaw-cli
eastasianwidth javascript unicode
Last synced: 2 days ago
JSON representation
A CLI to check characters' Unicode EAW properties :cat2:
- Host: GitHub
- URL: https://github.com/susisu/meaw-cli
- Owner: susisu
- License: mit
- Created: 2017-04-28T19:05:47.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-11T04:55:18.000Z (almost 3 years ago)
- Last Synced: 2024-12-06T08:06:35.952Z (21 days ago)
- Topics: eastasianwidth, javascript, unicode
- Language: JavaScript
- Homepage:
- Size: 111 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# meaw-cli
A CLI of [meaw](https://github.com/susisu/meaw). outputs Unicode East Asian Width (EAW) properties of given characters.## Installation
``` shell
npm i -g meaw-cli
```## Usage
```
meaw [options] [string...]
``````
$ meaw AあЯ
Na
W
A
```### Verbose mode (`-V` or `--verbose`)
Outputs the characters itself in addition to the EAW properties.```
$ meaw AあЯ --verbose
A Na
あ W
Я A
```Seperator can be specified by `-S` or `--separator` (default is a tab character).
```
$ meaw AあЯ --verbose --separator ","
A,Na
あ,W
Я,A
```### Standard input
If no arguments are given, it reads characters from the standard input.```
$ echo -n "AあЯ" | meaw
Na
W
A
```## License
[MIT License](http://opensource.org/licenses/mit-license.php)## Author
Susisu ([GitHub](https://github.com/susisu), [Twitter](https://twitter.com/susisu2413))