@andymenderunix/jisho-js

0.0.1-a • Public • Published

jisho-js

JavaScript wrapper around the jisho.org search Web API.

Build Status

Details

The library provides functions to query words directly through the exposed search API endpoint, with different possible crateria, like

  • JLPT levels

  • WaniKani levels

  • Word commonality

  • Additional filter tags like #wasei to search for wasei eigo words

Unlike existing JavaScript packages, it does not scrape the HTML output of returned results.

Limitations

  • Many filter flags mentioned in the docs are not supported by the Web API, however some obvious combinations don't work in the Web UI either (for instance, the #adjective tag often returns non-adjective words for a given query).

  • Kanji results are not supported by the Web API, however these would likely contain different information than word results.

  • The Web API always returns HTTP 200 even when the response is empty or the input was not correctly formatted.

Package Sidebar

Install

npm i @andymenderunix/jisho-js

Weekly Downloads

6

Version

0.0.1-a

License

BSD 3-Clause

Unpacked Size

1.07 MB

Total Files

36

Last publish

Collaborators

  • andymenderunix