hanbongul

0.0.2 • Public • Published

한본글

OI廿O・l己 云トフ 从フI
 己⊥  ⊥  し一 一  
  し      己

Install

$ npm install hanbongul

Usage

browser

<script src="dist/hanbongul.js"></script>
<script>
  hanbongulize('일본어로 한글쓰기')
</script> 

node

const hanbongulize = require('hanbongul').hanbongulize
hanbongulize('일본어로 한글쓰기')

Build

치환표는 src/dictionary.txt이며, npm test를 실행하면 글자의 길이를 계산하여 src/widthMap.js파일이 만들어집니다.

# 패키지 설치 
$ npm install
 
# 치환표 수정 
$ npm test
 
# 번들 파일 생성 
$ webpack

Readme

Keywords

Package Sidebar

Install

npm i hanbongul

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • nupamore