Mecab is a morphological analyzer for Japanese.
This repository builds Mecab with Emscripten, so it can be used in a browser or Node.js.
See examples/ for usage examples.
make allThis compiles MeCab C++ source to WebAssembly, builds the IPA dictionary, and bundles everything into the lib/ directory.
A devcontainer configuration is provided in .devcontainer/ with all required dependencies.
make clean-submodule # npm version requires clean git state
npm version patch # or minor, major
npm publish