Open ranger-ross opened 2 years ago
The kanji package appears to have been broken after the v0.3.1 release (starting in v0.5.0) in web browsers.
Running
kanji.jlpt.n5()
will yield the following error
Uncaught ReferenceError: __dirname is not defined at Jlpt.get n5 [as n5] (index.js:46:42)
Hey, currently the Kanji package is only designed for the Node environment. I might make it available for the web as well though sometime in the future.
The kanji package appears to have been broken after the v0.3.1 release (starting in v0.5.0) in web browsers.
Running
will yield the following error