Importing local Node.js modules
I have a local Node.js/TS package in local directory
/foo/bar/leet/package.json – Is there any way to import and use this in a Deno project?3 Replies
The use case here is that I have a lot of Node.js modules which comprise a larger system, and I want to start converting everything to Deno, but it doesn't make sense doing everything in one fell swoop.
I'm trying to convert just one Node.js package at a time to Deno.
upvoting because I am looking to do the same. are there any solutions for importing local Node packaged projects into a fresh Deno + browser project? my package.json currently has lots of "linked" packages in the form of "foo": "file:../foo" and those projects are node packages. How can I import those without having to change them? edit: for clarification these are all browser projects (they don't use node std) with both cjs and esm dist folders.
Unfortunately I have still not found a decent solution to this.