JSPM

unknow

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q29760F
  • License MIT

A translate tool in your command line

Package Exports

  • unknow

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (unknow) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Unknow 🌐

A translate tool in your terminal.

NPM version NPM downloads

Install

$ npm install unknow -g

Usage

$ know word

For short:

$ kn word

Translation data is fetched from fanyi.youdao.com, and only support translation between Chinese and English.

In Mac/Linux bash, words will be pronounced by say command.

Translate one word.

$ know love
 love  [ lʌv ] - n. 爱;爱情;喜好;(昵称)亲爱的;爱你的;心爱的人;钟爱之物;零分
 love  [ lʌv ] - v. 爱恋(某人);关爱;喜欢(某物或某事);忠于
 love  [ lʌv ] - n. (Love) (英、菲、瑞、美)洛夫(人名)
 
 1. love
    爱,爱情,爱心
 2. Endless Love
    无尽的爱,蓝色生死恋,不了情
 3. puppy love
    早恋,青春期恋爱,初恋

More words.

$ know make love

Support Chinese, even sentence.

$ know 和谐
$ know 子非鱼焉知鱼之乐

Error: spawn festival ENOENT

Try this workaround from say.js in Linux.

sudo apt-get install festival festvox-kallpc16k