# yd-fanyi

> youdao fanyi

Latest version **1.0.2** (published 2015-09-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install yd-fanyi
pnpm add yd-fanyi
yarn add yd-fanyi
bun add yd-fanyi
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2015-09-23 |
| First published | 2015-09-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | 2yuri |
| Maintainers | 2yuri |
| Keywords | fanyi, translate, youdao |

## Links

- npm: https://www.npmjs.com/package/yd-fanyi
- Repository: https://github.com/2yuri/yd-fanyi
- Homepage: https://github.com/2yuri/yd-fanyi#readme
- Issues: https://github.com/2yuri/yd-fanyi/issues
- npm.io page: https://npm.io/package/yd-fanyi

## Alternatives

- [ext-list](https://npm.io/package/ext-list.md) — 6.3M weekly downloads
- [@lexical/selection](https://npm.io/package/@lexical/selection.md) — 3.8M weekly downloads
- [@lexical/text](https://npm.io/package/@lexical/text.md) — 3.6M weekly downloads
- [@lexical/clipboard](https://npm.io/package/@lexical/clipboard.md) — 3.0M weekly downloads
- [@tiptap/extension-mention](https://npm.io/package/@tiptap/extension-mention.md) — 3.0M weekly downloads

## Recent versions

- 1.0.2 (latest) — 2015-09-23
- 1.0.1 — 2015-09-23
- 1.0.0 — 2015-09-23

## README

[![NPM](https://nodei.co/npm/yd-fanyi.png?downloads=true&stars=true)](https://nodei.co/npm/yd-fanyi/)


#### Install

```bash
$ npm install yd-fanyi
```

#### Usage

```js
var fanyi = require('yd-fanyi')();
fanyi('how are you',function(err,res){
	if (err) {
		return console.log(err);
	}
	console.log(res.translation);
    //['你好']
});

```

返回数据类型还支持xml及jsonp，内容需要自己解析。

```js
var fanyi = require('yd-fanyi')({doctype:'xml'});

```

#### Support:
中 － 英互译

英日韩法俄西 － 中

---
_Source: https://npm.io/package/yd-fanyi · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
