Creating my first Deno module

Have never published to NPM or Denoland before, so I'm having some problems figuring shit out. I'm gonna use this forum to dump my issues in case someone has gone through this process before and is willing to give a bit of their time to help me get unstuck. i'm currently having an issue defining the fetch 'redirect' value
i don't get why i'm getting an IDE error here, despite the code working as intended solution: i had to typecast options as RequestInit to make it go away how do i pass my variables through CLI? neither page seems to tell me how to do it https://deno.land/manual@v1.35.0/basics/env_variables https://examples.deno.land/environment-variables oh, Deno.args, i see is there a way to know if a test is being run by a GitHub Action? or should i just create an env for that on the action and check for Deno.env.has()?

Looking for more? Join the community!

Recommended Posts
Sanitize multiple test stepsIs it possible to sanitize multiple steps inside of one test. I want to test my DB with somthing likFFI string corrupted?Is there anything i'm doing wrong here? I'm confused on why it's crashing on setVerisonUE5 in particTypescript Conditional Type ReturnsI don't know why but this conditional type return is just causing me grief. ```ts type InnerType<T>Parsing Hostname for TLD, domain name, and SLDdoes anyone know of any packages to parse a URL's hostname for the top level domain, domain name, anMigrating large Node project to DenoIs there any reliable way to migrate a Node project to Deno? Currently working on a large project thWhy does Deno.serve not return a promise anymore?Doesn't this cause problems for error handling?Changing GitHub username โ€“ what about deno.land/x?If I change my GitHub username and I have a couple of modules on deno.land/x, what will happen to thAbsolute Imports with OakI would like to have absolute imports in my Oak-API ... ๐Ÿ˜‰Passing initial data to WorkerDetault `Worker` doesnt seem to support `WorkerData` as params. Although using `node:worker_threads`Adding npm specifiers to deno.jsonHow do i add a specific version of an npm module to the cache?How do I enqueue_microtask from other threadso `Isolate.enqueue_microtask` is obviously not send/sync so I think the only option is to use` std:how to import svg in vite without type errors?Can't connect to http server on official alpine deno with std serve.I'm using the official alpine docker container to run deno, listening on port 8080, but a simple curcalling a javascript function and waiting for the promise with `rusty_v8````rust let result = function.call(scope, recv, &[]).expect("couldnt run"); /*i got this result whicDeno KV: subtract with `sum` operation?If I do `.sum([key], 1n)` the value is increased by 1. How can I decrease it? I tried `.sum([key], Proxying a Rust API using FFI?I have a rust application that serves a rest api that runs in a container. I also have a deno cli thHow to use declarations from `vite/client`?There are declarations: https://esm.sh/v126/vite@4.3.9/client.d.ts According to documentation, I neegetting errno with ffiI am using ffi to call `execv` and need to get the value of `errno` for failures, but canโ€™t see how Purging Kv keysI have a logger which write logs to a kv store with dual keys, something like ```ts kv.set(["logs_bWhat is the right way to bundle native modules?If I'm not able to import a native module with the built-in "import" keyword, what is the ideal way