{"id":19936306,"url":"https://github.com/toss/es-hangul","last_synced_at":"2025-04-05T16:06:11.735Z","repository":{"id":232816266,"uuid":"779344176","full_name":"toss/es-hangul","owner":"toss","description":"A modern JavaScript library for handling Hangul characters.","archived":false,"fork":false,"pushed_at":"2024-04-13T22:25:38.000Z","size":2049,"stargazers_count":157,"open_issues_count":6,"forks_count":9,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-04-14T12:16:21.838Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://es-hangul.slash.page/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toss.png","metadata":{"files":{"readme":"README-en_us.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-29T16:05:45.000Z","updated_at":"2024-04-15T15:59:03.571Z","dependencies_parsed_at":"2024-04-15T15:58:59.725Z","dependency_job_id":"ef7d300c-c042-4280-886a-1f315bd0c9de","html_url":"https://github.com/toss/es-hangul","commit_stats":null,"previous_names":["toss/es-hangul"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toss%2Fes-hangul","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toss%2Fes-hangul/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toss%2Fes-hangul/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toss%2Fes-hangul/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toss","download_url":"https://codeload.github.com/toss/es-hangul/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247361684,"owners_count":20926643,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T23:25:08.738Z","updated_at":"2025-04-05T16:06:11.713Z","avatar_url":"https://github.com/toss.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"![es-hangul logo](https://github.com/toss/es-hangul/assets/69495129/433ddc8c-b32d-4c4c-8b60-5cc9cbe315d3)\n\n# es-hangul\n\n[한국어](https://github.com/toss/es-hangul/blob/main/README.md) | English\n\nes-hangul is a library that makes it easy to handle [Hangul](https://en.wikipedia.org/wiki/Hangul) in JavaScript. It provides a modern API that is easy to use. Because it uses ECMAScript Modules, users can download the minimum amount of code when used in a browser environment.\n\n## Examples\n\nYou can easily implement tasks related to Hangul, such as initial consonant search and attaching particles(josas).\n\n```tsx\nimport { getChoseong } from 'es-hangul';\n\nconst searchWord = '라면';\nconst userInput = 'ㄹㅁ';\n\nconst result = getChoseong(searchWord); // ㄹㅁ\n\n// Check if the 'choseong' of the search word match the user input\nif (result === userInput) {\n  something()\n}\n```\n\n```tsx\nimport { josa } from 'es-hangul';\n\nconst word1 = '사과';\nconst sentence1 = josa(word1, '을/를') + ' 먹었습니다.';\nconsole.log(sentence1); // '사과를 먹었습니다.'\n\nconst word2 = '바나나';\nconst sentence2 = josa(word2, '이/가') + ' 맛있습니다.';\nconsole.log(sentence2); // '바나나가 맛있습니다.'\n```\n\n## Contributing\n\nWe welcome contribution from everyone in the community. Read below for detailed contribution guide.\n\n[CONTRIBUTING](https://github.com/toss/es-hangul/blob/main/.github/CONTRIBUTING.md)\n\n## Thanks to\n\nWe would like to express our special thanks to the owners of the following libraries for their significant contributions to the JavaScript ecosystem related to Hangul and for inspiring many developers:\n[hangul-js](https://github.com/e-/Hangul.js): Jae-min Jo\n\n\n\n## License\n\nMIT © Viva Republica, Inc. See [LICENSE](https://github.com/toss/es-hangul/blob/main/LICENSE) for details.\n\n\u003ca title=\"토스\" href=\"https://toss.im\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://static.toss.im/logos/png/4x/logo-toss-reverse.png\"\u003e\n    \u003cimg alt=\"토스\" src=\"https://static.toss.im/logos/png/4x/logo-toss.png\" width=\"100\"\u003e\n  \u003c/picture\u003e\n\u003c/a\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoss%2Fes-hangul","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoss%2Fes-hangul","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoss%2Fes-hangul/lists"}