Giter Club home page Giter Club logo

yd_translate's Introduction

基于Nodejs命令行终端的有道翻译脚本

img

项目说明

  • 写这个翻译脚本的初衷是每次需要定义变量的时候都要去网页翻译觉得很烦很烦,后来狠下心就想写一个基于命令行的翻译脚本,于是花了一天时间然后就写出来了,可能代码很丑但是将就用,已经发到npm上了,目前支持汉英互翻,准备慢慢迭代😄

使用说明

yarn global add yd_translate
或者
npm install -g yd_translate
  • 英语翻译为汉语

  • ts country

    • ⠴ 正在查询中,请稍候...
    • n. 国家,国土;国民;乡下,农村;乡村;故乡 adj. 祖国的,故乡的;地方的,乡村的;国家的;粗鲁的;乡村音乐的
  • 汉语翻译为英语

  • ts 国家

    • ⠸ 正在查询中,请稍候...
    • state nation country nationality

  • 使用了tj大神的commander模块
  • 后续准备自定义打印的颜色
  • 有道翻译API

yd_translate's People

Contributors

hewentaowx avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.