spmjs

spm@3.x

Brand new static package manager for browser.

Getting Started 󰅴 Packages

hanyu-pinyin @1.1.1


Chinese Characters to Pinyin

spm install hanyu-pinyin@1.1.1

Version: 1.1.1 ~ stable

Updated 9 years ago
Homepage https://github.com/victorleungtw/pinyin#readme
Repository git+https://github.com/victorleungtw/pinyin.git
Main ./build/pinyin.min.js
Tarfile hanyu-pinyin-1.1.1.tar.gz

hanyu-pinyin

Chinese Characters to Pinyin

To install:

npm install hanyu-pinyin

Usage:

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

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