Updated the readme for excel to json
This commit is contained in:
parent
4bc23af526
commit
4d07c0e5fa
29
examples/excel2json/README.md
Normal file
29
examples/excel2json/README.md
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# Excel 2 Json
|
||||||
|
- Read file excel to json
|
||||||
|
- Custom mapping with custom columns
|
||||||
|
|
||||||
|
# Build
|
||||||
|
```shell
|
||||||
|
bash build
|
||||||
|
```
|
||||||
|
OR
|
||||||
|
```shell
|
||||||
|
make build run
|
||||||
|
```
|
||||||
|
|
||||||
|
# Example
|
||||||
|
```shell
|
||||||
|
docker run -v /my/path:/app/data --rm -it cubetiq/node-excel2json
|
||||||
|
```
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker run -v /home/sombochea/excel2json:/app/data -e APP_NAME="EXCEL 2 JSON" -e MAPPER_FILE="./data/mapper.json" --rm -it cubetiq/node-excel2json
|
||||||
|
```
|
||||||
|
|
||||||
|
# Environment
|
||||||
|
```env
|
||||||
|
APP_NAME=custom app name
|
||||||
|
INPUT_FILE=./data/mydata.json
|
||||||
|
OUTPUT_PATH=./data/outputs
|
||||||
|
MAPPER_FILE=./data/mapper.json
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user