Skip to content

Commit

Permalink
feat: 📝 更新README.md 支持英文版本,并默认为英文版本
Browse files Browse the repository at this point in the history
  • Loading branch information
xietiansheng committed Feb 14, 2023
1 parent 63921b8 commit 7800941
Show file tree
Hide file tree
Showing 2 changed files with 166 additions and 80 deletions.
163 changes: 83 additions & 80 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,80 +1,83 @@
<p align="center" >
<img width="300" src="./src/assets/images/logo.png">
</p>

<p align="center">
<img alt="" src="https://img.shields.io/badge/vue-3.2.41-brightgreen" />
<img alt="" src="https://img.shields.io/badge/vite-3.2.0-brightgreen" />
<img alt="" src="https://img.shields.io/badge/json--to--any-5.0.3-brightgreen" />
</p>


## 💡 介绍

⚡️JsonToAny是一款前端开发人员的在线代码生成工具,通过开发者给定的 `JSON` / `Object`,自动生成指定的代码,提高团队前期整体开发效率。


## ✨ 功能

> 目前支持如下语言转换
* TypeScript(Web前端开发人员)
* Java(原生Android开发人员)
* Dart(Flutter开发人员)


## 📝 使用

在线地址:[http://xiets.gitee.io/json-to-any-web/](http://xiets.gitee.io/json-to-any-web/)
[Gitee](https://gitee.com/XieTS/json-to-any-web) /
[GitHub](https://github.com/xietiansheng/json-to-any-web)

当然,你也可以 `Fork` 该项目对代码的生成结果进行定制化开发,自由操控生成结果。

## 🎉 效果

> JSON 转 TypeScript
![](./src/assets/images/example-ts.png)

> JSON 转 Java
![](./src/assets/images/example-java.png)

> JSON 转 Dart
![](./src/assets/images/example-dart.png)

## 🔨 开发

```bash
# gitee
git clone https://gitee.com/XieTS/json-to-any-web.git
# github
git clone https://github.com/xietiansheng/json-to-any-web.git

# 安装依赖(推荐pnpm)
npm install

# 启动服务
npm run dev
```

## 🔧 发布

```cmd
npm run build:prod
```

## 🔍️ 其他

```cmd
# 预览发布环境
npm run preview
# 代码格式检查
npm run lint
# 代码格式检查并自动修复
npm run lint -- --fix
```
<p align="center" >
<img width="300" src="./src/assets/images/logo.png">
</p>

<p align="center">
<img alt="" src="https://img.shields.io/badge/vue-3.2.41-brightgreen" />
<img alt="" src="https://img.shields.io/badge/vite-3.2.0-brightgreen" />
<img alt="" src="https://img.shields.io/badge/json--to--any-5.0.3-brightgreen" />
</p>


## 🌐 Language
**[Chinese](README_CN.md) / English**


## 💡 Introduction

⚡️JsonToAny is an online code generation tool for front-end developers, which automatically generates the specified code through the `JSON` / `Object` given by the developer to improve the overall development efficiency of the team upfront.


## ✨ Function

> The following language conversions are currently supported
* TypeScript(Web front-end developer)
* Java(Native Android Developer)
* Dart(Flutter Developer)


## 📝 Use

Online Address:[https://github.com/xietiansheng/json-to-any-web](http://xiets.gitee.io/json-to-any-web/)
[GitHub](https://github.com/xietiansheng/json-to-any-web) / [Gitee](https://gitee.com/XieTS/json-to-any-web)

you can also `Fork` the project to customize the code generation results and freely manipulate the generated results.

## 🎉 Effect

> JSON to TypeScript
![](./src/assets/images/example-ts.png)

> JSON to Java
![](./src/assets/images/example-java.png)

> JSON to Dart
![](./src/assets/images/example-dart.png)

## 🔨 Development

```bash
# github
git clone https://github.com/xietiansheng/json-to-any-web.git
# gitee
git clone https://gitee.com/XieTS/json-to-any-web.git

# 安装依赖(推荐pnpm)
npm install

# 启动服务
npm run dev
```

## 🔧 Release

```cmd
npm run build:prod
```

## 🔍️ Other

```cmd
# Preview Release Environment
npm run preview
# Code format check
npm run lint
# Code format check and automatic repair
npm run lint -- --fix
```
83 changes: 83 additions & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<p align="center" >
<img width="300" src="./src/assets/images/logo.png">
</p>

<p align="center">
<img alt="" src="https://img.shields.io/badge/vue-3.2.41-brightgreen" />
<img alt="" src="https://img.shields.io/badge/vite-3.2.0-brightgreen" />
<img alt="" src="https://img.shields.io/badge/json--to--any-5.0.3-brightgreen" />
</p>

## 🌐 语言
**中文 / [English](README.md)**


## 💡 介绍

⚡️JsonToAny是一款前端开发人员的在线代码生成工具,通过开发者给定的 `JSON` / `Object`,自动生成指定的代码,提高团队前期整体开发效率。


## ✨ 功能

> 目前支持如下语言转换
* TypeScript(Web前端开发人员)
* Java(原生Android开发人员)
* Dart(Flutter开发人员)


## 📝 使用

在线地址:[http://xiets.gitee.io/json-to-any-web/](http://xiets.gitee.io/json-to-any-web/)
[Gitee](https://gitee.com/XieTS/json-to-any-web) /
[GitHub](https://github.com/xietiansheng/json-to-any-web)

当然,你也可以 `Fork` 该项目对代码的生成结果进行定制化开发,自由操控生成结果。

## 🎉 效果

> JSON 转 TypeScript
![](./src/assets/images/example-ts.png)

> JSON 转 Java
![](./src/assets/images/example-java.png)

> JSON 转 Dart
![](./src/assets/images/example-dart.png)

## 🔨 开发

```bash
# gitee
git clone https://gitee.com/XieTS/json-to-any-web.git
# github
git clone https://github.com/xietiansheng/json-to-any-web.git

# 安装依赖(推荐pnpm)
npm install

# 启动服务
npm run dev
```

## 🔧 发布

```cmd
npm run build:prod
```

## 🔍️ 其他

```cmd
# 预览发布环境
npm run preview
# 代码格式检查
npm run lint
# 代码格式检查并自动修复
npm run lint -- --fix
```

0 comments on commit 7800941

Please sign in to comment.