calpine-node/examples/excel2json
2021-03-29 17:57:52 +07:00
..
data Add example for excel to json with mapper from file and add docker support 2021-03-29 17:32:54 +07:00
.gitignore Add example for excel to json with mapper from file and add docker support 2021-03-29 17:32:54 +07:00
build.sh Updated the script and volumn for container 2021-03-29 17:46:28 +07:00
Dockerfile Updated workdir 2021-03-29 17:50:02 +07:00
index.js Add example for excel to json with mapper from file and add docker support 2021-03-29 17:32:54 +07:00
Makefile Add example for excel to json with mapper from file and add docker support 2021-03-29 17:32:54 +07:00
package.json Add example for excel to json with mapper from file and add docker support 2021-03-29 17:32:54 +07:00
README.md Updated the readme for excel to json 2021-03-29 17:57:52 +07:00

Excel 2 Json

  • Read file excel to json
  • Custom mapping with custom columns

Build

bash build

OR

make build run

Example

docker run -v /my/path:/app/data --rm -it cubetiq/node-excel2json
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

APP_NAME=custom app name
INPUT_FILE=./data/mydata.json
OUTPUT_PATH=./data/outputs
MAPPER_FILE=./data/mapper.json