evmtools-node
Version:
このライブラリは、プライムブレインズ社で利用している「進捗管理ツール(Excel)」ファイルを読み込み、 プロジェクトの進捗状況や要員別の作業量を可視化するためのライブラリです。
24 lines • 884 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ExcelTaskRowCreator = void 0;
const excel_csv_read_write_1 = require("excel-csv-read-write");
const TaskRowCreatorImpl_1 = require("./TaskRowCreatorImpl");
class ExcelTaskRowCreator {
constructor(_excelPath) {
this._excelPath = _excelPath;
}
async createRowData() {
const mappings = await (0, excel_csv_read_write_1.excel2json2)({
filePath: this._excelPath,
sheetName: 'ガントチャート',
option: {
startIndex: 1,
useHeader: false,
},
});
const taskRowCreator = new TaskRowCreatorImpl_1.TaskRowCreatorImpl(mappings);
return taskRowCreator.createRowData();
}
}
exports.ExcelTaskRowCreator = ExcelTaskRowCreator;
//# sourceMappingURL=ExcelTaskRowCreator.js.map