JSPM

dtable-utils

5.0.27Aks0.29
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 1355
    • Score
      100M100P100Q103628F

    dtable common utils

    Package Exports

    • dtable-utils
    • dtable-utils/es/index.js
    • dtable-utils/lib/index.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dtable-utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    dtable-utils

    Node CI npm package JS size

    common utils

    项目结构

    .
    ├── src
    │   ├── archive        # 归档视图相关工具函数
    │   ├── 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      # 数字工具函数
    │   ├── search.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