㊙️ Node module for romanizing names in Traditional Chinese (for Taiwan, primarily).
JavaScript
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
.travis.yml
index.js
license.md
package.json
readme.md
romanization-pairs.json
surname-subs.json

readme.md

Romanize names Travis CI js-standard-style

Romanizing Chinese names for Taiwan. It's a 💩 show.

Install

npm install romanize-names

Usage

var romanize = require('romanize-names')
romanize(name_in_zhTW, system)

system String

Examples

romanize('張懸')
> Hsuan Chang

romanize('張懸', 'MPS-II')
> Shiuan Jang

romanize('張懸', 'TONGYONG')
> Syuan Jhang

romanize('張懸', 'HANYU')
> Xuan Zhang
romanize('秋木安')
> Mu-An Chiu

romanize('秋木安', 'MPS-II')
> Mu-An Chiou

romanize('秋木安', 'TONGYONG')
> Mu-An Ciou

romanize('秋木安', 'HANYU')
> Mu-An Qiu
romanize('范姜峻宏')
> Chun-Hung Fan-Chiang

romanize('范姜峻宏', 'MPS-II')
> Jiun-Hung Fan-Jiang

romanize('范姜峻宏', 'TONGYONG')
> Jyun-Hong Fan-Jiang

romanize('范姜峻宏', 'HANYU')
> Jun-Hong Fan-Jiang

Data Sources