common utils
.
├── src
│ ├── cell-value-get # 数据格式化相关工具函数
│ ├── cell-value-set # 数据解析相关工具函数
│ ├── color # 颜色工具函数
│ ├── column # 列相关工具函数
│ ├── constants # 常量
│ ├── helper # 辅助工具。例如 number-precision
│ ├── filter # 过滤相关工具函数
│ ├── group # 分组相关工具函数
│ ├── sort # 排序相关工具函数
│ ├── link # Link 相关工具函数
│ ├── row # row 相关工具函数
│ ├── table # table 相关工具函数
│ ├── view # view 相关工具函数
│ ├── validate # 验证器。例如,过滤验证器
│ ├── common.js # 通用工具函数
│ ├── date.js # 日期工具函数
│ ├── number.js # 数字工具函数
│ └── index.js # 入口文件
├── tests # 单元测试
├── README.md
└── package.json
npm 或 yarn 安装
# npm
$ npm install dtable-utils --save
# yarn
$ yarn add dtable-utils
import { CellType } from 'dtable-utils';
npm test
npm run test-cov