https://github.com/gmoqa/json-to-xlsx
NodeJs microservice to convert your json to xlsx.
https://github.com/gmoqa/json-to-xlsx
converter json nodejs xlsx
Last synced: 4 months ago
JSON representation
NodeJs microservice to convert your json to xlsx.
- Host: GitHub
- URL: https://github.com/gmoqa/json-to-xlsx
- Owner: gmoqa
- License: mit
- Created: 2018-12-10T15:22:47.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T08:41:42.000Z (over 3 years ago)
- Last Synced: 2025-03-25T09:12:08.308Z (about 1 year ago)
- Topics: converter, json, nodejs, xlsx
- Language: JavaScript
- Homepage: https://github.com/gmoqa/json-to-xlsx
- Size: 108 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JSON to XLSX
NodeJs microapp to convert your json to xlsx.
## Installing / Getting started
```shell
git clone https://github.com/gmoqa/json-to-xlsx.git
cd json-to-xlsx
npm install
```
setup your .env file
run `bin/www`
Now send to `POST /xlsx` with your `file` `.json` and the response looks like this.
```json
{
"file": "http://localhost:8000/files/xlsx/1m1klsh7qbjplnm63j.xlsx"
}
```
You can send to `POST /json` with your `file` `.xlsx` and the response looks like this.
```json
{
"data": [
{
"name": "pageOne",
"content": {
"item1": "value",
"item2": "value"
}
},
{
"name": "pageTwo",
"content": {
"item1": "value",
"item2": "value"
}
}
]
}
```