Skip to content

otoneko1102/galjp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

galjp

≠”兯儿文字変オ奐ラィ┐”ラױ

Usage

const { generate } = require('galjp');

/**
 * Generation - galmoji
 * @param input string (required)
 * @param option object
 * @param option.alphabet boolean (default=true)
 * @param option.number boolean (default=true)
 * @param option.hira boolean (default=true)
 * @param option.kata boolean (default=true)
 * @param option.kanji boolean (default=true)
 * @param option.other boolean (default=true)
 * @param option.word boolean (default=true)
 * @returns - Generated string.
 */

console.log(generate('Hello World!')); // '丩ヨ└└口 山口尺└囙.ᐟ'
console.log(generate('Hello World!', { alphabet: false })); // 'Hello World.ᐟ'
console.log(generate('こんにちは!')); // '⊇ωレニㄘレ£.ᐟ'
console.log(generate('こんにちは!', { hira: false })); // 'こんにちは.ᐟ'
console.log(generate('信頼してる')); // 'イ言束頁Uτゑ'
console.log(generate('信頼してる', { kanji: false })); // '信頼Uτゑ'

Get Support

Discord Banner