Coder Social home page Coder Social logo

collection50 / es-hangul Goto Github PK

View Code? Open in Web Editor NEW

This project forked from toss/es-hangul

0.0 0.0 0.0 1.69 MB

A modern JavaScript library for handling Hangul characters.

Home Page: https://es-hangul.slash.page/

License: MIT License

Shell 0.21% JavaScript 1.72% TypeScript 98.07%

es-hangul's Introduction

es-hangul 로고

es-hangul

한국어 | English

es-hangul은 쉽게 한글을 다룰 수 있도록 돕는 JavaScript 라이브러리입니다. 편리하게 사용할 수 있는 모던한 라이브러리 API를 제공합니다. ECMAScript Modules을 사용하기 때문에, 사용자가 브라우저 환경에서 최소한의 코드를 내려받도록 할 수 있습니다.

사용 예시

문자열 초성화, 조사 붙이기와 같은 한글 작업을 간단히 할 수 있습니다.

import { getChoseong } from 'es-hangul';

const searchWord = '라면';
const userInput = 'ㄹㅁ';

const result = getChoseong(searchWord); // ㄹㅁ

if (result === userInput) {
  // 일치한다면 if문이 실행
}
import { josa } from 'es-hangul';

const word1 = '사과';
const sentence1 = josa(word1, '을/를') + ' 먹었습니다.';
console.log(sentence1); // '사과를 먹었습니다.'

const word2 = '바나나';
const sentence2 = josa(word2, '이/가') + ' 맛있습니다.';
console.log(sentence2); // '바나나가 맛있습니다.'

기여하기

es-hangul 라이브러리에 기여하고 싶다고 생각하셨다면 아래 문서를 참고해주세요.

CONTRIBUTING

라이선스

MIT © Viva Republica, Inc. LICENSE 파일을 참고하세요.

토스

es-hangul's People

Contributors

2wheeh avatar anonymousrecords avatar bo-like-chicken avatar cmg8431 avatar collection50 avatar crucifyer avatar evan-moon avatar fe-dudu avatar github-actions[bot] avatar gwansikk avatar ho991217 avatar jgjgill avatar jungwoo3490 avatar juno7803 avatar jw-r avatar kangju2000 avatar knu-k avatar leejy12 avatar manudeli avatar minsoo-web avatar mjy9088 avatar okinawaa avatar pengoosedev avatar po4tion avatar raon0211 avatar sa02045 avatar seungrodotlee avatar ssi02014 avatar wdj0729 avatar youngjae99 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.