@micromint1npm/neque-animi-exercitationem
v1.0.0
Published
- **@micromint1npm/neque-animi-exercitationem**는 한글 문자열을 자음과 모음으로 분리하는 (풀어쓰기 해주는) JavaScript 라이브러리입니다. - **@micromint1npm/neque-animi-exercitationem** is a JavaScript library for decomposing Korean strings into consonants and vowels.
Downloads
3
Maintainers
Keywords
Readme
@micromint1npm/neque-animi-exercitationem
- @micromint1npm/neque-animi-exercitationem는 한글 문자열을 자음과 모음으로 분리하는 (풀어쓰기 해주는) JavaScript 라이브러리입니다.
- @micromint1npm/neque-animi-exercitationem is a JavaScript library for decomposing Korean strings into consonants and vowels.
Installation
npm install @micromint1npm/neque-animi-exercitationem
Usage
const hangul = require('@micromint1npm/neque-animi-exercitationem');
console.log(hangul.unpack('안녕')); // 'ㅇㅏㄴㄴㅕㅇ'
OR
import hangul from '@micromint1npm/neque-animi-exercitationem'
console.log(hangul.unpack('안녕')); // 'ㅇㅏㄴㄴㅕㅇ'
쌍자음
console.log(hangul.unpack('까치')); // 'ㄱㄱㅏㅊㅣ'
겹받침
console.log(hangul.unpack('삵')); // 'ㅅㅏㄹㄱ'
겹모음
console.log(hangul.unpack('왜?')); // 'ㅇㅗㅐ?'
API
unpack(string)
- Parameters
string
(String): The Korean string to decompose.
- Returns
- (String): The decomposed string into consonants and vowels.
License
This project is provided under the MIT License.