Skip to content

Instantly share code, notes, and snippets.

View thienlam's full-sized avatar

Lâm Chí Thiện (Ryan) thienlam

  • 12:06 (UTC +07:00)
View GitHub Profile
@kamiaka
kamiaka / convert_kana.js
Last active March 7, 2025 06:35
JS Convert "Kana" one from another (zen-kaku, han-kaku and more)
/**
* Convert "Kana" one from another
* (zen-kaku, han-kaku and more)
*
* @param string str
* @param string option (optionaly)
* @return string converted string
*/
function convert_kana (str, option) {
option = option || "KV";