Package Exports
- bb-pinyin
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bb-pinyin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
汉字转拼音
把汉字转化为拼音字母,由chinalu/JSPinyin改写,使用新语法并去掉mootools的依赖 项目需求要把拼音改成(中国->zhong;guo;zg),由waterchestnut/pinyin改写
安装
npm install bb-pinyin -S
import pinyin from 'bb-pinyin'
使用示例
let pinyin = require('bb-pinyin');
console.log(pinyin.getChars('管理员'));