Problem with multiple files (like default router/proxy template) and NPM install &/or worker deploy

I'm trying to setup a worker with separate /path functions as separate files just like the router/proxy template.

However, I need to be able to install NPM packages to one or some of these separate worker scripts.. that seems impossible, since I cannot do it from the Web Code Editor nor can I work with multiple files in Wrangler, it can only handle one per folder?

Is this not possible??
Was this page helpful?