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

  • kiwiheretic@lemmy.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

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