0.2.0 • Published 4 years ago

convert-excel-js v0.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

介绍

English

这是一个应用程序国际化助手,可以帮助你在 json 和 excel 之间完成文件类型转换。

使用 npm 安装

npm install convert-excel-js -g

使用 yarn 安装

yarn global add convert-excel-js

如何使用

将 json 转换为 excel 。

excel [filePath] [fileName]

excel ./filename.json
# excel ./filename.json appText

将 excel 转换为 json 。

json [filePath] [sheetName] [keyColumn] [valueColumn] [fileName]

json ./filename.xlsx 工作表1 A B
# json ./filename.xlsx 工作表1 A B fileName.js

添加时间戳

如果你希望生成文件时记录时间,只需在文件名中插入_time_即可,例如:

将 json 转换为 excel 。

excel [filePath] [fileName]

excel ./filename.json appText._time_.json

将 excel 转换为 json 。

json [filePath] [sheetName] [keyColumn] [valueColumn] [fileName]

json ./filename.xlsx 工作表1 A B fileName._time_.js
0.2.0

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago