
Security News
Oxlint Introduces Type-Aware Linting Preview
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
@koozaki/romaji-conv
Advanced tools
Convert romaji into kana
<script src="https://cdn.jsdelivr.net/npm/@koozaki/romaji-conv@2.0.29/dist/romaji-conv.js"></script>
<script>
console.log(romajiConv('hogehoge').toHiragana()); // ほげほげ
// ローマ字 → ひらがな・カタカナ
var romaji = romajiConv('anoinutyauchautocyauntyau');
console.log(romaji.toHiragana()); // あのいぬちゃうちゃうとちゃうんちゃう
console.log(romaji.toKatakana()); // アノイヌチャウチャウトチャウンチャウ
// ひらがな → カタカナ
var hiragana = romajiConv('あのいぬちゃうちゃうとちゃうんちゃう');
console.log(hiragana.toKatakana()); // アノイヌチャウチャウトチャウンチャウ
// カタカナ → ひらがな
var katakana = romajiConv('アノイヌチャウチャウトチャウンチャウ');
console.log(katakana.toHiragana()); // あのいぬちゃうちゃうとちゃうんちゃう
</script>
<script>
var toHiragana = romajiConv.toHiragana;
var toKatakana = romajiConv.toKatakana;
// ローマ字 → ひらがな・カタカナ
console.log(toHiragana('hogehoge')); // ほげほげ
console.log(toKatakana('hogehoge')); // ホゲホゲ
// ひらがな → カタカナ
console.log(toKatakana('ほげほげ')); // ホゲホゲ
// カタカナ → ひらがな
console.log(toHiragana('ホゲホゲ')); // ほげほげ
</script>
npm install @koozaki/romaji-conv
or
yarn add @koozaki/romaji-conv
const romajiConv = require('@koozaki/romaji-conv');
console.log(romajiConv('hogehoge').toHiragana()); // ほげほげ
// ローマ字 → ひらがな・カタカナ
const romaji = romajiConv('anoinutyauchautocyauntyau');
console.log(romaji.toHiragana()); // あのいぬちゃうちゃうとちゃうんちゃう
console.log(romaji.toKatakana()); // アノイヌチャウチャウトチャウンチャウ
// ひらがな → カタカナ
const hiragana = romajiConv('あのいぬちゃうちゃうとちゃうんちゃう');
console.log(hiragana.toKatakana()); // アノイヌチャウチャウトチャウンチャウ
// カタカナ → ひらがな
const katakana = romajiConv('アノイヌチャウチャウトチャウンチャウ');
console.log(katakana.toHiragana()); // あのいぬちゃうちゃうとちゃうんちゃう
const { toHiragana, toKatakana } = require('@koozaki/romaji-conv');
// ローマ字 → ひらがな・カタカナ
console.log(toHiragana('hogehoge')); // ほげほげ
console.log(toKatakana('hogehoge')); // ホゲホゲ
// ひらがな → カタカナ
console.log(toKatakana('ほげほげ')); // ホゲホゲ
// カタカナ → ひらがな
console.log(toHiragana('ホゲホゲ')); // ほげほげ
# ローマ字 → ひらがな・カタカナ
./bin/romaji-conv.js anoinutyauchautocyauntyau # あのいぬちゃうちゃうとちゃうんちゃう
./bin/romaji-conv.js anoinutyauchautocyauntyau --katakana # アノイヌチャウチャウトチャウンチャウ
# ひらがな → カタカナ
./bin/romaji-conv.js あのいぬちゃうちゃうとちゃうんちゃう --katakana # アノイヌチャウチャウトチャウンチャウ
# カタカナ → ひらがな
./bin/romaji-conv.js アノイヌチャウチャウトチャウンチャウ # あのいぬちゃうちゃうとちゃうんちゃう
FAQs
Convert romaji into kana
The npm package @koozaki/romaji-conv receives a total of 1,607 weekly downloads. As such, @koozaki/romaji-conv popularity was classified as popular.
We found that @koozaki/romaji-conv demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.