JavaScript functions to manipulate Hangul text
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
jsdoc_template
spec Improve coverage Apr 21, 2013
.gitignore
.travis.yml
LICENSE
Makefile Add JSDoc template Apr 21, 2013
README.md
hangul-dubeol.js
hangul-dubeol.min.js
hangul-misc.js
hangul-misc.min.js
hangul-sebeol.js
hangul-sebeol.min.js
hangul.js
hangul.min.js
karma.conf.js
package.json

README.md

hangul.js

hangul.js is a simple JavaScript library that provides functions to manipulate Hangul text. Each function is capable of a specific task, such as:

  • to check if a character is a Hangul syllabic block (such as "가")
  • to compose/decompose a Hangul syllabic block from/into jamo
  • to convert between different input methods (e.g. Dubeol and QWERTY)

Project documentation: http://clee704.github.io/hangul-js/

Development Tools

You can make init to install all required tools.

Karma

npm install -g karma

Karma is used to run tests. Run make test for a single run of tests and make karma to watch code and run tests again when code is changed.

UglifyJS 2

npm install -g uglify-js

UglifyJS 2 is used to generate minified code. Run make or make min to generate minified code. Note that minified code is tracked for easy access, so make sure to generate them before commit.

JSDoc 3

npm install -g git://github.com/jsdoc3/jsdoc.git

JSDoc 3 is used to generate documentation.