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(['λ‘―λ°μ‹œλ„€λ§ˆ', 'ν”„λ‘œκ²Œμ΄λ¨Έ'])'