importing pdf-parse and fs modules

Hello

first thank you for providing this very useful tool.

However I am confronted with banking statement files that do not indicate the period covered in the file name. The only way to get this information is to read this pdf.

I archive my banking statements by formatting the name: ISO Period start date + bank and account information + ISO Period end date. for instance: 20251101_BNK_ME_EUR_20251231

Would it be possible when using a javascript method to import and use modules like fs and pdf-parse ?

Thank you for looking at this question
Laurent