node-palladius

0.6.4 • Public • Published

node-palladius

NPM version Code Climate Build Status Coveralls Status Dependency Status

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

Package Sidebar

Install

npm i node-palladius

Weekly Downloads

1

Version

0.6.4

License

MIT

Last publish

Collaborators

  • terales