The JavaScript version of Open Chinese Convert (OpenCC)
Fix performance degradation
async
. (See README for details)Package with bundler
Use a better way to detect node environment. The old implementation fails at case of web workers.
Implement a feature: Ignore certain HTML nodes in conversion.
The conversion is skipped if the class list of a node contains ignore-opencc
. All child nodes of the node will not be converted.