JSPM

jp-en

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q9433F
  • License GPL-3.0-or-later

a super lightweight & fast direct translator from Japanese Katagana or Hiragana to English Romaji (Romanized Japanese) for NodeJS

Package Exports

  • jp-en

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jp-en) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

jp-en

jp-en is a super lightweight & fast direct translator from Japanese Katagana or Hiragana to English Romaji (Romanized Japanese), it aims at serving as a fundamental block of translation for Node.JS.

  • Discrete and distinct translation, no ambiquity
  • No Hepburn
  • Sit in range of [a-zA-Z], database friendly

Usage

const {toRomaji} = require('jp-en');
toRomaji("あるはってんとじょうこくへのとうしのるーるのじゅんしゅ"); 
// aruhattentojoukokuhenotoushinoruurunojunshu

Remarks

This library will not take care of Kanji, spaces & punctuations, logics should be done on application layer before passing to this library.