Hong Minhee
Hong Minhee
DDeno
Created by Hong Minhee on 7/14/2024 in #help
How to set up VS Code with Deno workspaces
Yeah, it works well with the deno CLI!
9 replies
DDeno
Created by Hong Minhee on 7/14/2024 in #help
How to set up VS Code with Deno workspaces
⬆️ This does not help at all…
9 replies
DDeno
Created by THERAS_ on 4/25/2024 in #help
Buffer.from equivalent in deno?
Ah, there was no such thing as Buffer in Node.js back in the day, but now I see there is one in the Node.js compatibility layer.
import { Buffer } from "node:buffer";
import { Buffer } from "node:buffer";
6 replies
DDeno
Created by THERAS_ on 4/25/2024 in #help
Buffer.from equivalent in deno?
As far as I know, there is no such thing in Deno as Buffer in Node.js, and you should use either ArrayBuffer or Uint8Array instead, which are web standards. (The decodeHex() function already returns a Uint8Array.) The Buffer in @std/io has the same name as the Buffer in Node.js, but is a completely different thing.
6 replies
DDeno
Created by Hong Minhee on 3/4/2024 in #help
Is there any reference manual for how doc comments are rendered on JSR or deno.land/x?
There seems already an issue about it. https://github.com/denoland/deno_doc/issues/384
6 replies
DDeno
Created by Hong Minhee on 3/4/2024 in #help
Is there any reference manual for how doc comments are rendered on JSR or deno.land/x?
It seems deno doc --html also doesn't implement links on methods and properties.
6 replies
DDeno
Created by Hong Minhee on 1/24/2023 in #help
How can I let my program keep running even if it receives SIGINT?
Sorry, it was my mistake. I tested again with a minimal example, and Deno apparently keeps running even if it receives SIGINT once after I registered a signal handler.
5 replies