Core functionality for Excel export
npm install export.excel.coreExcel导出核心功能库,提供导出的核心逻辑和类型定义。
``bash`
npm install export.excel.core
- 提供导出的核心接口定义
- 导出模型和类型定义
- 核心导出逻辑
`typescript
import { ExportService } from 'export.excel.core';
// 创建导出服务实例
const exportService = new ExportService();
// 使用导出服务
const result = await exportService.exportData(/ 参数 /);
`
核心导出服务类,提供数据导出的核心功能。
#### exportData(params)
导出数据到Excel。
参数:
- params:导出参数对象
返回:
- Promise
ISC