Expand description
Node.js (napi-rs v3) binding for the Gukhanmun hanja-to-hangul converter.
Exposes NapiGukhanmun (owning converter) to JavaScript via napi-rs.
Streaming is supported through NapiGukhanmun::open_stream /
NapiGukhanmun::stream_push / NapiGukhanmun::stream_finish, where
the stream state lives in an External handle that is assembled into a
platform TransformStream by the TypeScript wrapper layer.
Errors are encoded as JSON in the napi reason field so the TypeScript
wrapper can reconstruct a GukhanmunError with code and chain.
Structsยง
- Napi
Gukhanmun - Owning hanja-to-hangul converter exposed to Node.js via napi-rs.
- RawDict
Input - Raw dictionary record passed from JavaScript:
{ format: "fst"|"cdb", bytes: Uint8Array }. - Stream
State - Internal stream state held in an
Externalhandle.