tfk-saksbehandling-soknad-to-xslx
Version:
Create xlsx from jsonfiles
35 lines (24 loc) • 797 B
Markdown
[](https://travis-ci.org/telemark/tfk-saksbehandling-soknad-to-xslx)
[](https://github.com/feross/standard)
Parses all .json-files in a directory and creates an .xlsx-file.
- tilskudd
```JavaScript
'use strict'
const reportGenerator = require('tfk-saksbehandling-soknad-to-xslx')
const options = {
dataPath: 'test/data',
reportPath: 'test/data/report.xlsx'
}
reportGenerator(options, (error, message) => {
if (error) {
console.error(error)
} else {
console.log(message)
}
})
```
[](LICENSE)