Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up[RFC] Split out the CLI into a separate package #1922
Comments
|
It's buried in the README: https://github.com/SheetJS/sheetjs#parsing-and-writing-examples
That said, this is a reasonable idea. Should the CLI be split off (a module like |
|
Well, I don't have an opinion on the option you select. I'm fine if I have to replace |


Currently, some of the dependencies of this package are related to its CLI tool (which is not even mentioned in the readme AFAICT). These dependencies (
commanderandexit-on-epipeat least) are unnecessary for projects using the library. To reduce the install footprint, what do you think about splitting the CLI into a separate package (that can then be installed only when you actually need it) ?Note that to actually benefit from the smaller install footprint, this should also be done in other packages you maintain (
crc-32,adler-32,cfbandcodepage), as they also include their own CLI with these dependencies (btw, currently, this forces the install of 2 different versions ofcommanderdue toxlsxusing an older version thancodepage)