An open API service indexing awesome lists of open source software.

https://github.com/faradayio/plancha

A node CLI tool to flatten multi-sheet/tab spreadsheet files
https://github.com/faradayio/plancha

Last synced: about 2 months ago
JSON representation

A node CLI tool to flatten multi-sheet/tab spreadsheet files

Awesome Lists containing this project

README

          

# plancha
A node CLI tool to flatten multi-sheet/tab spreadsheet files. Named for the inimitable tortilla press.

![plancha](plancha.jpg)

It'll turn this:

![in](in.gif)

. . . into this:

![out](out.png)

## Installation

`npm install plancha -g`

## Usage

`plancha -i `

### Arguments

* `-i, --input` (_REQUIRED_) Input filename/path of `.xlsx` file to be flattened.
* `-o, --output` (_OPTIONAL_) Output filename. If not specified, this will default to the input filename with a `_flattened` suffix.

### Notes

- This will flatten any hidden sheets along with the visible ones, so be sure you want those included.
- The assumption that launched this tool is that headers across individual sheets are at least _similar/comparable_ to each other; doublecheck that you're not flattening a table that shouldn't be flattened.

## License

MIT