Leokuma
How to detect if executing on main thread vs worker
To type check a worker, add these lines at the top:
Source: https://docs.deno.com/runtime/manual/advanced/typescript/types#type-checking-web-workers
4 replies
How to rewrite this: `import * as base32 from "jsr:@std/encoding@0.224.3/base32.ts";`
Deno team is really pushing JSR, but personally I would not say JSR is "better" than HTTPS. I'd say it depends on your use case and the way you like to work. There are tradeoffs
5 replies
How to rewrite this: `import * as base32 from "jsr:@std/encoding@0.224.3/base32.ts";`
From https://jsr.io/@std/encoding@0.224.3/doc/base32/~:
Exports are declared in
deno.json
: https://jsr.io/@std/encoding/0.224.3/deno.json5 replies
cannot execute: required file not found
Use this for Termux: https://github.com/cions/termux-deno
12 replies
How to import qstash into deno edge function?
Try importing from https://deno.land/x/upstash_qstash@v2.5.2/src/index.ts
8 replies