Socket
Socket
Sign inDemoInstall

@zhouatie/fanyi

Package Overview
Dependencies
58
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @zhouatie/fanyi

a tranlate plugin


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
3.87 MB
Created
Weekly downloads
 

Readme

Source

@zhouatie/fanyi

说明

平时开发的时候,遇到不会的单词,总要打开 一个翻译软件,或者浏览器翻译插件去查。所以就想开发一个命令行翻译插件,并发布到npm库上供大家使用。

安装

npm i @zhouatie/fanyi -g

使用

翻译英文

# 翻译单词apple的意思
fanyi apple

----------------------

英 [ˈæpl]   美 [ˈæpl]

n. 苹果,苹果树,苹果似的东西;[美俚]炸弹,手榴弹,(棒球的)球;[美俚]人,家伙。
# 翻译句子
fanyi my name is bob

---------------

我叫鲍勃

翻译中文

fanyi 苹果

----------

苹果 [píng guǒ]

[园艺] apple
fanyi 我是前端工程师

-----------

I'm a front end engineer

TODO

  • 支持句子翻译
  • 加入commonader
  • 支持选择多个翻译平台

Keywords

FAQs

Last updated on 25 Nov 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc