https://github.com/nexys-system/tabular-excel
https://github.com/nexys-system/tabular-excel
excel excel-export typescript
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nexys-system/tabular-excel
- Owner: nexys-system
- License: mit
- Created: 2019-10-04T18:27:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T08:19:05.000Z (over 2 years ago)
- Last Synced: 2025-01-24T02:59:49.704Z (4 months ago)
- Topics: excel, excel-export, typescript
- Language: TypeScript
- Homepage: https://nexys-system.github.io/tabular-excel/
- Size: 6.07 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Excel Tabular Generator
[](https://www.npmjs.com/package/@nexys/tabular)
[](https://www.npmjs.com/package/@nexys/tabular)
[](https://circleci.com/gh/Nexysweb/tabular-excel)
[](https://travis-ci.com/Nexysweb/tabular-excel)

- [see GH](https://github.com/nexysweb/tabular-excel)
- [see website](https://nexysweb.github.io/tabular-excel)Turn `JSON` lists into Excel files (.xlsx)
## Multi pages
if the input is an object: keys are worksheet names and values are the array needed to create the content of the worksheet
## Styling cells
Instead of having a string with the content of a cell, use `{content: 'cell content', style}`. `style` is an object containing the style of the cell.
Documentation can be found here: [Style documentation of Excel 4 Nodes](https://www.npmjs.com/package/excel4node#styles)
# Lines to row
Sometimes structured data are newline delimited, see example below:
```
firstName1
lastName1
email1
firstName2
lastName2
email2
```We define the following attributes: `firstName` `lastName` and `email1`
Lines to row then turns the above into
```
[
{firstName: 'firstName1', lastName: 'lastName1', email: 'email1'},
{firstName: 'firstName2', lastName: 'lastName2', email: 'email2'}
]
```# SRT to VTT
Easily convert SRT files to VTT
## Resources
- https://medium.com/@Nopziiemoo/create-excel-files-using-javascript-without-all-the-fuss-2c4aa5377813
https://shinglyu.com/web/2019/02/09/js_download_as_file.html
https://www.name-generator.org.uk/quick/