pinyin : ?????????. You can installing pinyin npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install pinyin $ sudo npm install -g pinyin
If want to update the pinyin package execute the command as below,
$ sudo npm update pinyin
Update package globally,
$ npm install -g pinyin
$ sudo git clone https://github.com/rektide/pinyin.git
$ sudo npm install -g ./pinyin
pinyin@2.8.3 /usr/lib/node_modules/pinyin
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall pinyin
| Package Name | pinyin |
| Version | 2.8.3 |
| Description | ????????? |
| Released Date | 2017-03-31T15:33:05.053Z |
| Published by | hotoo |
| How to Learn | https://www.npmjs.com/package/pinyin/tutorial |