jisho-cli

0.4.1 • Public • Published

jisho-cli

A small command line utility that converts results from jisho.org to plain terminalese.

Here some output for the search term arashi:

screenshot

Note: The extraction of the kana reading may not be completely accurate in some cases. Also, changes to the site may break the application.

Installation

The application can be installed from npm:

npm install -g jisho-cli

-g installs it globally. If you have added your global Node .bin directory to the path you then can use the command jisho-cli anywhere.

Usage

You can search for any term in English and Japanese (both Romaji and Kana/Kanji).

Examples:

% jisho-cli arashi
% jisho-cli 嵐
% jisho-cli storm

The flag -i can be used to start the application interactively. The user then is prompted for search terms repeatedly (the first search term can still be provided as argument). Pressing enter without entering any text exits the application.

Using interactive mode is recommended for multiple searches as it keeps the session/cache alive. Subsequent requests thus need to transmit less data.

Package Sidebar

Install

npm i jisho-cli

Weekly Downloads

3

Version

0.4.1

License

MIT

Unpacked Size

127 kB

Total Files

17

Last publish

Collaborators

  • brunnerh