spmjs

spm@3.x

Brand new static package manager for browser.

Getting Started 󰅴 Packages

hanyu-pinyin


Chinese Characters to Pinyin

spm install hanyu-pinyin
Versions 1.1.2, 1.1.1, 1.1.0
Updated 9 years ago
Keywords pinyin
Homepage https://github.com/victorleungtw/pinyin#readme
Repository git+https://github.com/victorleungtw/pinyin.git
Main ./build/pinyin.min.js
Owner

hanyu-pinyin

Chinese Characters to Pinyin

To install:

npm install hanyu-pinyin

Usage:

var converter = require("hanyu-pinyin");

converter.pinyin("英雄");    // yingxiong
converter.pinyinInitial("英雄");    // yx