1.0.13 • Published 2 months ago

xlsx-constructor v1.0.13

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

npm i xlsx-constructor

import generate from 'xlsx-constructor';

const data = {name: 'Name', startDatePeriod: '2022-12-12', jobs: [{title: 'title1', startDate: '2022-12-10', completionDate: '2022-12-14'}, {title: 'title2', startDate: '2022-12-13', completionDate: '2022-12-15'}],  assets: [{serialNumber: 1, jobs: [{title: 'title1', startDate: '2022-12-12', completionDate: '2022-12-14'}, {title: 'title2', startDate: '2022-12-12', completionDate: '2022-12-14'}]}, {serialNumber: 2, jobs: [{title: 'title1', startDate: '2022-12-12', completionDate: '2022-12-14'}, {title: 'title2', startDate: '2022-12-12', completionDate: '2022-12-14'}]}, {serialNumber: 3, jobs: [{title: 'title1', startDate: '2022-12-10', completionDate: '2022-12-14'}]}]}
const templatePath = 'templates/with-diagramm.xlsx';
const reportPath = 'report.xlsx';
const temporaryFolder = 'temporary';
generate(data, templatePath, reportPath, temporaryFolder)
1.0.11

2 months ago

1.0.13

2 months ago

1.0.12

2 months ago

1.0.10

2 months ago

1.0.9

2 months ago

1.0.8

4 months ago

1.0.7

4 months ago

1.0.6

4 months ago

1.0.5

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

6 months ago