chinese_pinyin

1.0.5 • Public • Published

chinese_pinyin

Node JS Library to Convert Chinese to Pinyin

Installation

npm install chinese_pinyin

Usage

var pinyin = require('chinese_pinyin');
console.log(pinyin("你好,我是 @aaa"));

Output:

"ni hao ,wo shi @aaa"

Tests

npm test

Online Tool

You may also like this tool.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i chinese_pinyin

    Weekly Downloads

    5

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    208 kB

    Total Files

    7

    Last publish

    Collaborators

    • justyy