Skip to content

Instantly share code, notes, and snippets.

View yjb94's full-sized avatar
:electron:
React Professional

JB Paul yjb94

:electron:
React Professional
View GitHub Profile
🌞 Morning 105 commits ██▌░░░░░░░░░░░░░░░░░░ 12.3%
🌆 Daytime 382 commits █████████▍░░░░░░░░░░░ 44.8%
🌃 Evening 285 commits ███████░░░░░░░░░░░░░░ 33.5%
🌙 Night 80 commits █▉░░░░░░░░░░░░░░░░░░░ 9.4%
@yjb94
yjb94 / josa.js
Created January 18, 2019 09:59
이/가 을/를 은/는 과/와 이여/여 으로/로 조사 포함 문자열 반환 코드
/**
* @crated JongBae Yun <jbyun94@naver.com>
* @license MIT
*/
import * as hangul from 'hangul-js';
export const josa = (function() {
return {
iGa: (input) => {
return hangul.endsWithConsonant(input) ? `${input}이` : `${input}가`;