hanzi-to-pinyin

1.86.0 • Public • Published

Hanzi to Pinyin

npm version Travis Build Status Greenkeeper badge dependency status dev dependency status ISC-licensed chat on gitter

Install

npm install hanzi-to-pinyin

Usage

const convert = require('hanzi-to-pinyin')
convert('我的猫喜欢吃苹果')
.then(console.log)
// [ ['wǒ'], ['de','dī','dí','dì'], ['māo'], ['xǐ huan'], ['chī'], ['píng guǒ'] ]

Related

Contributing

If you have a question, found a bug or want to propose a feature, have a look at the issues page.

/hanzi-to-pinyin/

    Package Sidebar

    Install

    npm i hanzi-to-pinyin

    Weekly Downloads

    19

    Version

    1.86.0

    License

    MIT

    Unpacked Size

    5.22 kB

    Total Files

    4

    Last publish

    Collaborators

    • pepebecker