1.0.15 • Published 9 months ago

xlsx-constructor v1.0.15

Weekly downloads
-
License
MIT
Repository
github
Last release
9 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.15

9 months ago

1.0.14

9 months ago

1.0.11

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago