Skip to content

Commit

Permalink
Hide-Show Read experience
Browse files Browse the repository at this point in the history
  • Loading branch information
jobyrao committed Aug 13, 2019
1 parent 217a089 commit e9f3b47
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,9 @@ const xlsxPath = path.join('./excel.xlsx');
const nativeData = xlsx2json.parse(xlsxPath);
```

### 2. Resolve to a custom structure
<details>
<summary><b>console.log(nativeData)</b> (click to show)</summary>

```JavaScript
const customData = xlsx2json.parse2json(xlsxPath);
```

### nativeData && customData
nativeData
```json
[
{
Expand Down Expand Up @@ -165,7 +160,16 @@ nativeData
]
```

customData
</details>

### 2. Resolve to a custom structure

```JavaScript
const customData = xlsx2json.parse2json(xlsxPath);
```

<details>
<summary><b>console.log(customData)</b> (click to show)</summary>

```json
[
Expand Down Expand Up @@ -274,6 +278,8 @@ customData
]
```

</details>

## License

[MIT](LICENSE)

0 comments on commit e9f3b47

Please sign in to comment.