zero-tools

1.4.5 • Public • Published

游戏工具包

安装

yarn add zero-tools -g 

npm i zero-tools -g

使用

在命令行工具中输入 zero 开始使用。

zero

配置表转换工具

zero xt

在当前文件夹下的xlsx.json中所描述的Excel文件转换TS文件

过滤表名为中文 开头为_的表

xlsx.json xlsxPath excel 所在路径 tsPath ts文件所在路径 checkCell 属性所在单元格 属性无无数据被过滤 第一个属性所在列无数据被过滤 note 注解所在行 第一行为0 startCell 数据所在单元格

{
  "xlsxPath": "../config",
  "tsPath": "./config",
  "checkCell": "A3",
  "note": 0,
  "startCell": "A4"
}

问题 数量大于2000条时 TS会出现报红

Package Sidebar

Install

npm i zero-tools

Weekly Downloads

0

Version

1.4.5

License

ISC

Unpacked Size

108 kB

Total Files

16

Last publish

Collaborators

  • wc24