this post was submitted on 05 Jul 2023
5 points (100.0% liked)

JavaScript

1982 readers
2 users here now

founded 1 year ago
MODERATORS
 

I’ve figured out how to write libraries in Deno, and publish them to node using the DNT package, but this only works if there package is authored in Deno. I have several libraries that are already written in Node and I’d like to publish Deno packages for them, but I’m unsure how to handle the dependencies. Using the DNT tool, you effectively map the Deno dependencies to Node. How can I go the other direction and map Node dependencies to Deno so I can publish tools (like @jmondi/oauth2-server) to Deno? Here is an example going from Deno to Node: @jmondi/browser-storage

you are viewing a single comment's thread
view the rest of the comments
[–] kiwiheretic@lemmy.ca 2 points 1 year ago

Surprising how quiet it is here. Beginning to wonder what the question/answer ratio is.