"fs" is missing from Hono

I am building for Workers. I need to parse PDF buffer as text, so I tried to use “pdf-parse” from langchainjs.

i am receiving lots of errors. this is one of them

✘ [ERROR] Could not resolve “fs”

node_modules/pdf-parse/lib/pdf.js/v1.10.100/build/pdf.js:17378:17:
  17378 │ var fs = require('fs');
        ╵                  ~~~~

The package “fs” wasn’t found on the file system but is built into node.
Add “node_compat = true” to your wrangler.toml file and make sure to prefix the module name with “node:” to enable Node.js compatibility.

I believe the “fs” from NodeJS is not available natively. How do I work around this?

If it’s not possible, can I ask, what tool in available to scrape content from PDF on Workers?

Thanks!
Gary