Skip to content

evansque/pinyinify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pinyinify

转换汉字为拼音。 Convert Chinese characters to pinyin.

> pinyinify("转换汉字为拼音。")
"zhuǎnhuàn hànzì wéi pīnyīn."

安装 Installation

npm install pinyinify

用法 Usage

var pinyinify = require("pinyinify");
console.log(pinyinify("你好!你今天吃饭了没?"));
// nǐhǎo! nǐ jīntiān chīfàn le méi?

About

Converter from Chinese characters to pinyin.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%