chinese_pinyin
Convert a Chinese String (e.g. Address) to Pinyin
Last updated 2 days ago by justyy .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install chinese_pinyin 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.5                                ...           latest (2 days ago)

6 Versions

  • 1.0.5                                ...           2 days ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 24
This Month 25
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |