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 (
commander
andexit-on-epipe
at 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
,cfb
andcodepage
), as they also include their own CLI with these dependencies (btw, currently, this forces the install of 2 different versions ofcommander
due toxlsx
using an older version thancodepage
)