Sunday 23 February 2020

Made npm package to decrypt passord protected pptx file

The pptx files can be opened in editable mode, event though it was password protected. This is supported only till Office 2016 version.The source is here. This is my first npm project, so here I have a question that, I need to pass the file name(without pptx extension) as argument. But if the user choose to press tab for auto completion then it would result something like .\fileName.pptx in windows and in linux as fileName.pptx.So what approach should i follow to parse fileName from the above exptension(.pptx) varients. Parse differently based on os or use libs like command-line-args etc.

Submitted February 23, 2020 at 09:14PM by zaerrc

No comments:

Post a Comment