Skip to content
/ oktjs Public

Open Korean Text transpiled to JavaScript.

License

Notifications You must be signed in to change notification settings

71/oktjs

Repository files navigation

oktjs

Port of Open Korean Text to JavaScript; it has no external dependencies, and runs in the browser.

Note that a modern browser with support for ES2018 RegExp unicode escapes is necessary.

Try it online!

Building

To build Oktjs, the following must be installed:

  • A JDK.
  • sbt to compile the Scala code.
  • yarn to fetch dependencies and bundle the JavaScript code.

Then, yarn can be used:

$ yarn build

Details

Oktjs uses Scala.js to compile Open Korean Text to JavaScript, so it is cloned as a submodule to use its sources. A few changes are required to make it work with JavaScript: