node-palladius
v0.6.4
Published
The Palladius system for transcribing Chinese characters into the Cyrillic alphabet
Downloads
29
Readme
node-palladius
The Palladius system for transcribing Chinese characters into the Cyrillic alphabet
Install
npm install --save node-palladius
Requires String.startsWith(), String.endsWith() and Array.includes().
Usage
const palladius = require('node-palladius');
palladius('chen boda');
// returns:
[
{chen: 'чэнь'},
{ ' ': ' ' },
{ bo: 'бо' },
{ da: 'да' }
]
API
palladius(input)
input
Required
Type: String
Input is any Pinyin words.
License
MIT © Aleksander Terekhov