tensha
v0.1.1
Published
Transliteration library from foreign languages to Japanese
Downloads
3
Maintainers
Readme
tensha.js
Transliteration library from foreign languages to Japanese. It supports currently Russian.
Installation
npm install tensha
Usage
This package is ESM only. Please use import
instead of require
.
import { transliterate, transliterateRu } from "tensha";
transliterate("Алиса", "ru"); // "アリサ"
// or
transliterateRu("Антон"); // "アントン"
Deno
// import library with type definitions using skypack
import { transliterate, transliterateRu } from "https://cdn.skypack.dev/[email protected]?dts";