npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

keyboard-korean-converter

v0.3.0

Published

Keyboard Map Converter between Korean and English

Downloads

28

Readme

Keyboard Korean Converter

한글과 영어로 키보드 자판을 바꿔주는 라이브러리입니다. (q ↔ ㅂ, o ↔ ㅐ, ...)

설치

node.js

npm install keyboard-korean-converter
import * as KeyboardConverter from "keyboard-korean-converter";

혹은

import { convertKeyboard } from "keyboard-korean-converter";
// 필요한 함수

Typescript

npm install keyboard-korean-converter
import * as KeyboardConverter from "keyboard-korean-converter";

혹은

import { convertKeyboard } from "keyboard-korean-converter";
// 필요한 함수

웹 페이지

<script
  type="module"
  src="https://cdn.jsdelivr.net/npm/keyboard-korean-converter"
></script>

기능 및 예제

convertKeyboard : 한글 자판을 영어로, 영어 자판을 한글로 변환

console.log(KeyboardConverter.convertKeyboard("abcdㅁㄴㅇㄹ"));
// ㅁㅠㅊㅇasdf

convertKoreanKeyboard : 한글 자판만 영어로 변환

console.log(KeyboardConverter.convertKoreanKeyboard("testㅇㅖㅅㅣ"));
// testdptl

console.log(KeyboardConverter.convertKoreanKeyboard("test테스트"));
// testxptmxm

convertEnglishKeyboard : 영어 자판만 한글로 변환

console.log(KeyboardConverter.convertEnglishKeyboard("testㅇㅖㅅㅣ"));
// ㅅㄷㄴㅅㅇㅖㅅㅣ

convertEnglishKeyboard는 기존 한글 글자를 분리하지 않습니다. 한글 글자 분리가 필요하면 splitHangul을 사용해주세요

convertNumToEngKeyboard : 숫자 자판을 아래 영어로 변환

(1 → q, 2 → w, 3 → e, ..., 0 → p)

console.log(KeyboardConverter.convertNumToEngKeyboard("testㅇㅖㅅㅣ1357"));
// testㅇㅖㅅㅣqetu

convertNumToEngKeyboard는 기존 한글 글자를 분리하지 않습니다. 한글 글자 분리가 필요하면 splitHangul을 사용해주세요

convertNumToKorKeyboard : 숫자 자판을 아래 한글로 변환

(1 → ㅂ, 2 → ㅈ, 3 → ㄷ, ..., 0 → ㅔ)

console.log(KeyboardConverter.convertNumToKorKeyboard("testㅇㅖㅅㅣ1357"));
// testㅇㅖㅅㅣㅂㄷㅅㅕ

convertNumToKorKeyboard는 기존 한글 글자를 분리하지 않습니다. 한글 글자 분리가 필요하면 splitHangul을 사용해주세요

splitHangul : 한글 글자를 분리

console.log(KeyboardConverter.convertNumToKorKeyboard("황긜둯"));
// ㅎㅗㅏㅇㄱㅡㅣㄹㄷㅜㅓㄱㅅ