pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/liuernan/translation-cli-nodejs

1b4e838281c.css" /> GitHub - liuernan/translation-cli-nodejs: a CLI translate tool in Node.js · GitHub
Skip to content

liuernan/translation-cli-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

translation-cli-nodejs

a CLI tool to translate word from 中文 to English or from English to 中文.

two step to use

1.install from NPM:

// if u are using npm
npm install -g translation-cli-nodejs

// if u are using yarn
yarn global add translation-cli-nodejs

tips: globally installation will can make it much easier to use.

2.now it is OK to use:

fy hello
// "你好" (or other results) will be printed in terminal

fy 你好
// "hello" (or other results) will be printed in terminal

3.if u see error like this:

internal/modules/cjs/loader.js:985
  throw err;
  ^

Error: Cannot find module './private-key'
Require stack:
......

that is because I didn't upload my appID and appKey of translate API, which means this NPM package cannot work.

translation API

Youdao Translation API is used in this tool.

Feedback

contact me via Github Repo

About

a CLI translate tool in Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy