Skip to content

hmmhmmhm/hangul-search-js

Repository files navigation

🇰🇷 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(['롯데시네마', '프로게이머'])'

About

🇰🇷 Simple Korean text search module

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published