Skip to content

Latest commit

ย 

History

History
145 lines (120 loc) ยท 6.46 KB

README.md

File metadata and controls

145 lines (120 loc) ยท 6.46 KB


Inko.js

version

Open Source Library, Converting Misspelled English characters into Korean letters (& vice versa)


Getting Started

  • ์˜ํƒ€๋ฅผ ํ•œ๊ธ€๋กœ ์ณค์„ ๋•Œ, ํ˜น์€ ํ•œํƒ€๋ฅผ ์˜์–ด๋กœ ๋ณ€ํ™˜ํ•ด์ฃผ๋Š” ๊ธฐ๋Šฅ์„ ๊ฐ€์ง„ ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ์˜คํ”ˆ์†Œ์Šค ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์ž…๋‹ˆ๋‹ค.
  • Inko Offical Website has been launched!
  • Inko ํ•œ์˜ํƒ€๋ณ€ํ™˜๊ธฐ Chrome Extension has been launched! (2019.03.25)
  • inko.py has been launched! (2020.04.29) (Thanks to JackCme)
  • inko.kt has been launched! (2020.07.19) (Thanks to kimcore)

Release Note

Version Release Date Changes Contributors
v1.0.3 2018.08.07 #7 ์˜ํƒ€ -> ํ•œ๊ธ€๋กœ ๋ณ€ํ™˜ ์‹œ์ผœ์ฃผ๋Š” ๋กœ์ง ์ˆ˜์ •. ์•ŒํŒŒ๋ฒณ ์†Œ๋ฌธ์ž 26๊ฐœ, ๋Œ€๋ฌธ์ž 26๊ฐœ ์ด 52๊ฐœ์— ๋งž์ถฐ์„œ ํ•œ๊ธ€๊ณผ ๋งคํ•‘ํ•จ. 738
v1.0.4 2018.08.11 #4 Gulp๋กœ workflow ์ž๋™ํ™” (inko.min.js ํŒŒ์ผ ์ƒ์„ฑ), #8 Bower์— ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ๋“ฑ๋ก 738
v1.0.5 2018.08.11 inko.js์—์„œ package.json ํŒŒ์ผ์„ importํ•˜๋Š” ๋ถ€๋ถ„ ์ œ๊ฑฐ 738
v1.0.6 2018.08.25 #12 hlhlhl -> ใ…šใ…—ใ…ฃใ…—ใ…ฃ๋กœ ๋ณ€ํ™˜๋˜๋Š” ๋ฒ„๊ทธ ์ˆ˜์ •, #14 rtk -> ๊ฆต๋กœ ๋ณ€ํ™˜๋˜๋Š” ๋ฒ„๊ทธ ์ˆ˜์ •, #15 ๋ณต์ž์Œ ๊ฐ€๋Šฅ ์—ฌ๋ถ€ ์˜ต์…˜ํ™”, config ํ•จ์ˆ˜ ์ถ”๊ฐ€ algoshipda, 738
v1.0.7 2019.04.21 #22 isํ•œ๊ธ€ ํ•จ์ˆ˜์—์„œ "๊ฐ€" ~ "๊ธฏ" ๋ฒ”์œ„๋ฅผ ํ•œ๊ธ€๋กœ ์ธ์‹ํ•˜์ง€ ์•Š๋Š” ๋ฒ„๊ทธ ์ˆ˜์ • 738, EntryDark
v1.1.0 2019.04.22 #6 index.d.ts ์ง€์›, #21 circleci ์—ฐ๋™ 738
v1.1.1 2019.07.31 ํ™ˆํŽ˜์ด์ง€ ์ฃผ์†Œ ๋ณ€๊ฒฝ (https://inko.js.org), npm ๋‹ค์šด๋กœ๋“œ ๋ฐฐ์ง€ ์ถ”๊ฐ€ 738

Installation

npm

npm install inko

yarn

yarn add inko

As Browser module

CDN

<script src="https://cdn.jsdelivr.net/npm/[email protected]/inko.min.js"></script>

Bower

bower install inko

Usage

var Inko = require('inko');
var inko = new Inko();

// ES6
import Inko from 'inko';
let inko = new Inko();

์˜์–ด โ†’ ํ•œ๊ธ€

inko.en2ko('dkssudgktpdy tptkd!');
// ์•ˆ๋…•ํ•˜์„ธ์š” ์„ธ์ƒ!

ํ•œ๊ธ€ โ†’ ์˜์–ด

inko.ko2en('ใ…—๋””ใ…ฃใ… ์žฌ๊น…!');
// hello world!

๋ณต์ž์Œ ๊ฐ€๋Šฅ ์—ฌ๋ถ€ ์„ค์ •

// allowDoubleConsonant์˜ ๊ธฐ๋ณธ๊ฐ’์€ false์ž…๋‹ˆ๋‹ค
var option = {
  allowDoubleConsonant: true
}

์„ค์ •์„ ๋ถ€์—ฌํ•˜๋Š” ๋ฐฉ๋ฒ•์€ ์•„๋ž˜์˜ ์„ธ ๊ฐ€์ง€ ๋ฐฉ๋ฒ•์œผ๋กœ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

  1. ์ธ์Šคํ„ด์Šค ์ƒ์„ฑํ•  ๋•Œ ์ƒ์„ฑ์ž์˜ ์ธ์ž๋กœ ์„ค์ • ๋ถ€์—ฌ
var inko = Inko(option);
  1. config ํ•จ์ˆ˜๋กœ ์„ค์ • ๋ถ€์—ฌ
inko.config(option);
  1. en2ko ํ•จ์ˆ˜์˜ ์ธ์ž๋กœ ์„ค์ • ๋ถ€์—ฌ
inko.en2ko('rtrt', option);
// output: ใ„ณใ„ณ
inko.en2ko('rtrt', { allowDoubleConsonant: false });
// output: ใ„ฑใ……ใ„ฑใ……

Related

  • inko-cli - Use inko on the command line
  • inko-web - Inko official website
  • inko-chrome-extension - Inko chrome extension
  • alfred-inko - Alfred 3 workflow to convert misspelled English characters into Korean letters (& vice versa)
  • inko.py - Python implementation of inko.js
  • inko.kt - Kotlin implementation of inko.js (Also works in Java)

Contributors


738 (Jon Jee)

algoshipda

ahnsv

hyoungsp

joonghyeob-shin

Contributing

์ด ์˜คํ”ˆ์†Œ์Šค ํ”„๋กœ์ ํŠธ์— ๋ˆ„๊ตฌ๋‚˜ ๊ธฐ์—ฌํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๊ธฐ์—ฌํ•˜๊ณ  ์‹ถ์€ ๋ถ„๋“ค์€ ์ด ๋ ˆํฌ์ง€ํ† ๋ฆฌ๋ฅผ ํฌํฌํ•œ ํ›„ ํ’€๋ฆฌํ€˜์ŠคํŠธ ์š”์ฒญํ•ด์ฃผ์„ธ์š”!

License

Inko.js is released under the MIT License. See LICENSE file for details.