mirai-t

0.2.1 • Public • Published

mirai-t

CLI tool for Mirai Translate (trial), which provides a customizable translation solution.

Installation

Use the package manager yarn or npm.

$ sudo yarn global add mirai-t
$ sudo npm install -g mirai-t

Usage

Single line mode

$ mirai-t -s English -t Japanese This is the test.
これがテストです。

You can also use ISO 639-1.

$ mirai-t -s en -t ja This is the test.
これがテストです。

Multiple lines mode (Interactive mode)

$ mirai-t -i

This mode is provided by inquirer.js. You can input the multiple lines with the editor.

Disclamer

This tool scrapes this page (Currently, the Japanese version of the page is targeted.) directly to get the data. When using this tool, be careful not to overload the website with excessive access.

I am not responsible for compensating users for any damages they incur from using this tool or for any problems that arise between users using this tool.

Please check the Terms of Use (Even though the URL contains en, the pdf is written in Japanese. 🤔)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i mirai-t

Weekly Downloads

0

Version

0.2.1

License

MIT

Unpacked Size

15 kB

Total Files

13

Last publish

Collaborators

  • noriyotcp