8000 hangul-search-js/README.md at 1.0.1 · hmmhmmhm/hangul-search-js · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 493 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 493 Bytes

🇰🇷 Hangul Search Js

It allows you to search for simple Korean characters in the most consistent order regardless of the character assembly order.


📦 Installation

npm i hangul-search-js

🌸 How to use

import { createSearch } from 'hangul-search-js'

const search = createSearch(['롯데시네마', '유튜브', '프로F게이머'])
const result = search('시ㄴ')
expect(result).toMatchObject(['롯데시네마', '프로게이머'])'
0