cli-voice
命令行发音工具
安装
$ npm install cli-voice -g
使用
支持英文发音,支持Windows和macOS
例子
$ voice hello> [həˈləʊ] ✔️$ voice world> [wɜːld] ✔️
参数
$ voice -hUsage: voice [word]Options:-V, --version output the version number-h, --help output usage information output usage information
其他
参考了 cli-dict, 使用了有道的发音接口