{"id":18951171,"url":"https://github.com/hmmhmmhm/hangul-search-js","last_synced_at":"2025-04-16T00:31:52.218Z","repository":{"id":57260692,"uuid":"410269098","full_name":"hmmhmmhm/hangul-search-js","owner":"hmmhmmhm","description":"🇰🇷 Simple Korean text search module","archived":false,"fork":false,"pushed_at":"2021-09-25T15:26:14.000Z","size":1561,"stargazers_count":25,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-12T06:15:05.506Z","etag":null,"topics":["korea","korean","korean-language","korean-letters","korean-nlp","korean-text-processing"],"latest_commit_sha":null,"homepage":"","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/hmmhmmhm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-25T12:39:18.000Z","updated_at":"2024-03-12T11:19:24.000Z","dependencies_parsed_at":"2022-08-28T21:50:45.271Z","dependency_job_id":null,"html_url":"https://github.com/hmmhmmhm/hangul-search-js","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmmhmmhm%2Fhangul-search-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmmhmmhm%2Fhangul-search-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmmhmmhm%2Fhangul-search-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmmhmmhm%2Fhangul-search-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hmmhmmhm","download_url":"https://codeload.github.com/hmmhmmhm/hangul-search-js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223691114,"owners_count":17186747,"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":["korea","korean","korean-language","korean-letters","korean-nlp","korean-text-processing"],"created_at":"2024-11-08T13:26:43.527Z","updated_at":"2024-11-08T13:26:44.316Z","avatar_url":"https://github.com/hmmhmmhm.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🇰🇷 Hangul Search Js\n\n\u003e It allows you to search for simple Korean characters in the most consistent order regardless of the character assembly order.\n\n![Github Workflow](https://github.com/hmmhmmhm/hangul-search-js/actions/workflows/test.yml/badge.svg)\n![GitHub License](https://img.shields.io/github/license/hmmhmmhm/hangul-search-js)\n![Jest Coverage](https://raw.githubusercontent.com/hmmhmmhm/hangul-search-js/main/badges/badge-lines.svg)\n![Gzip Size](https://img.badgesize.io//hmmhmmhm/hangul-search-js/main/export/hangul-search.js.svg?compression=gzip)\n[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-%230074c1.svg)](http://www.typescriptlang.org/)\n![NPM Version](https://img.shields.io/npm/v/hangul-search-js.svg?label=version)\n![jsDelivr](https://badgen.net/jsdelivr/v/npm/hangul-search-js)\n\n\u003cbr/\u003e\n\n## 📦 Usage (ES5+)\n\n```bash\nnpm i hangul-search-js\n```\n\n```ts\nimport { createSearch } from 'hangul-search-js'\n\nconst search = createSearch([\n  '롯데시네마',\n  '유튜브',\n  '프로게이머',\n  '가난',\n  '난가'\n])\n\nconst result = search('시ㄴ')\n// result: ['롯데시네마', '프로게이머', '가난', '난가']\n\nconst resultExact = search('시ㄴ', { exact: true })\n// result: ['롯데시네마']\n\nconst resultExact = search('난가', { exact: true, order: true })\n// result: ['난가']\n```\n\n\u003cbr/\u003e\n\n## 📦 Usage (CDN)\n\n```html\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/hangul-search-js/export/hangul-search.js\"\u003e\u003c/script\u003e\n```\n\n```js\nvar createSearch = window.hangulSearch\n\nvar search = createSearch([\n  '롯데시네마',\n  '유튜브',\n  '프로게이머',\n  '가난',\n  '난가'\n])\n\nvar result = search('시ㄴ')\n// result: ['롯데시네마', '프로게이머', '가난', '난가']\n\nvar resultExact = search('시ㄴ', { exact: true })\n// result: ['롯데시네마']\n\nvar resultExact = search('난가', { exact: true, order: true })\n// result: ['난가']\n```\n\n\u003cbr/\u003e\n\n## 💡 License\n\n\u003e MIT Licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmmhmmhm%2Fhangul-search-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhmmhmmhm%2Fhangul-search-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmmhmmhm%2Fhangul-search-js/lists"}