Changed the from people to source for default
This commit is contained in:
parent
d9ee930204
commit
ab7a43a93f
@ -3,7 +3,7 @@ LABEL maintainer="sombochea@cubetiqs.com"
|
||||
|
||||
VOLUME [ "/app/data" ]
|
||||
|
||||
ENV INPUT_FILE './data/people.xlsx'
|
||||
ENV INPUT_FILE './data/source.xlsx'
|
||||
ENV OUTPUT_PATH './data/outputs'
|
||||
ENV MAPPER_FILE './data/mapper.json'
|
||||
|
||||
|
20
README.md
20
README.md
@ -1,11 +1,13 @@
|
||||
# excel2json
|
||||
|
||||
[](https://github.com/CUBETIQ/excel2json/actions/workflows/npm-publish.yml)
|
||||
[](https://github.com/CUBETIQ/excel2json/actions/workflows/docker-publish.yml)
|
||||

|
||||

|
||||
|
||||
- Read file excel to json
|
||||
- Custom mapping with custom columns and configs
|
||||
- Custom props
|
||||
- Docker suppport
|
||||
|
||||
# Install
|
||||
```shell
|
||||
@ -21,7 +23,21 @@ yarn add global excel2json-xlsx
|
||||
```
|
||||
Usage
|
||||
```shell
|
||||
excel2json-xlsx -i people.xlsx -o exported.json
|
||||
excel2json-xlsx -i source.xlsx -o exported.json
|
||||
```
|
||||
OR
|
||||
```shell
|
||||
npx excel2json -i source.xlsx -o exported.json
|
||||
```
|
||||
|
||||
# [Docker Hub](https://hub.docker.com/r/cubetiq/excel2json)
|
||||
***Pulling image***
|
||||
```shell
|
||||
docker pull cubetiq/excel2json
|
||||
```
|
||||
***Run container***
|
||||
```shell
|
||||
docker run --rm -it -v /my/path/data:/app/data cubetiq/excel2json -i ./data/source.xlsx -p true
|
||||
```
|
||||
|
||||
# Build
|
||||
|
Loading…
Reference in New Issue
Block a user