romanize-names

2.0.0 • Public • Published

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

console.log(romanize('張懸'))
> Hsuan Chang
 
console.log(romanize('張懸', 'MPS-II'))
> Shiuan Jang
 
console.log(romanize('張懸', 'TONGYONG'))
> Syuan Jhang
 
console.log(romanize('張懸', 'HANYU'))
> Xuan Zhang
console.log(romanize('秋木安'))
> Mu-An Chiu
 
console.log(romanize('秋木安', 'MPS-II'))
> Mu-An Chiou
 
console.log(romanize('秋木安', 'TONGYONG'))
> Mu-An Ciou
 
console.log(romanize('秋木安', 'HANYU'))
> Mu-An Qiu
console.log(romanize('范姜峻宏'))
> Chun-Hung Fan-Chiang
 
console.log(romanize('范姜峻宏', 'MPS-II'))
> Jiun-Hung Fan-Jiang
 
console.log(romanize('范姜峻宏', 'TONGYONG'))
> Jyun-Hong Fan-Jiang
 
console.log(romanize('范姜峻宏', 'HANYU'))
> Jun-Hong Fan-Jiang

Data Sources

Package Sidebar

Install

npm i romanize-names

Weekly Downloads

3

Version

2.0.0

License

MIT

Last publish

Collaborators

  • muan