kuroshiro
kuroshiro copied to clipboard
hiragana -> katakana conversion doesn't seems to work
Is that the expected behavior?
> kuroshiro.convert('トン', { to: 'hiragana' }).then(console.log)
kuroshiro.convert('トン', { to: 'hiragana' }).then(console.log)
Promise {
<pending>,
domain:
Domain {
domain: null,
_events:
{ removeListener: [Function: updateExceptionCapture],
newListener: [Function: updateExceptionCapture],
error: [Function: debugDomainError] },
_eventsCount: 3,
_maxListeners: undefined,
members: [] } }
> トン
kanakana -> hiragana seems to work as expected
> kuroshiro.convert('とん', { to: 'katakana' }).then(console.log)
kuroshiro.convert('とん', { to: 'katakana' }).then(console.log)
Promise {
<pending>,
domain:
Domain {
domain: null,
_events:
{ removeListener: [Function: updateExceptionCapture],
newListener: [Function: updateExceptionCapture],
error: [Function: debugDomainError] },
_eventsCount: 3,
_maxListeners: undefined,
members: [] } }
> トン