@romanize/korean

0.1.1 • Public • Published

@romanize/korean

A utility library to romanize Korean Hangul to Latin characters.

Installation

npm install @romanize/korean

Usage

import { romanize } from '@romanize/korean';
romanize('안녕하세요'); // annyeonghaseyo

Romanization Systems

The two main Korean romanization systems are the Revised Romanization of Korean (RR) and McCune-Reischauer (MR). The library supports both systems.

By default, the Revised Romanization is used as it is the official romanization system of South Korea (Republic of Korea).

However, users can specify the system to use by passing in the system option.

import { romanize } from '@romanize/korean';
romanize('안녕하세요', { system: 'MR' }); // annyonghaseyo

Package Sidebar

Install

npm i @romanize/korean

Weekly Downloads

102

Version

0.1.1

License

MIT

Unpacked Size

26.6 kB

Total Files

11

Last publish

Collaborators

  • kei0