Smoother DX using 3rd party modules written in TypeScript in the Browser
Say, for instance, I want to use the "async" standard library's Deferred implementation in some code that runs in the Browser. Currently I manually copy the TypeScript source to a vendor folder and have my build step do the transpilation, then have my import map point to the transpiled code. Is there a way to have Deno or a complimentary tool do the transpiling with less manual intervention and allow a developer to use the original URL for the TypeScript module in their import map?
[Aside: wasn't quite sure whether to post this in #help or #ideas . Kinda straddles the line to me 🤷🏻♂️ ]...
Issue using scopes to change a version
I'm using
https://deno.land/x/markdown@v2.0.0/ and I get the following error:
```bash
Warning Implicitly using latest version (0.182.0) for https://deno.land/std/encoding/_yaml/loader/loader.ts
error: Module not found "https://deno.land/std/encoding/_yaml/loader/loader.ts"....Importing local Node.js modules
I have a local Node.js/TS package in local directory
/foo/bar/leet/package.json – Is there any way to import and use this in a Deno project?Server Sent Events with Fresh
Hi! I am trying to use Server Sent Events (SSE) with fresh. I understand I should have an island that holds the connection to the server but how can I broadcast the notifications to other islands?
Twind intellisense stop working
Out of the blue, intellisense stopped working even though I installed the twind and deno extensions in VS Code. Has anyone experienced something like this and know how to fix it?
VS Code: 1.77.1
Deno: 1.32.3
Fresh: 1.1.5...

Is there a way to lint check unnecessary `await`s?
In VSCode, I get this grey hint in the IDE (photo). But I don't see a lint rule for it at https://lint.deno.land/. Is this just an IDE/CLI mismatch? I'd love to make this a warning or error.

How to use Buffers again? Old node path no longer exists
Previously, I used
export * from "https://deno.land/std@0.177.0/node/internal/buffer.mjs";. I updated a project to use the latest std library and I have no idea how to get buffers back.How use namespace on Deno
i am trying to use the same namespace in multiple modules but what used to work in node, doesn't work in deno:
```ts
/* test1.ts */
/// <reference path="./test2.ts" />...
Restart Deno process on crash
Hello,
The following Node snippet allows a script to restart on crash :
```js
import {
spawn...
best practice when spawning commands that require sudo?
I am building a command line utility in deno that leverages data coming from
tcpdump. To get any meaningful data out of tcpdump, I need elevated permissions. To keep this command portable, that means running sudo tcpdump inside my deno program. How can I set up deno permissions to run a specific command executed through sudo? A simple permission of --allow-run=sudo would be dangerous. I could just let the user approve each time, but even then, all they know is that they are approving sudo, there is no other knowledge of what the subcommand is:
``
┌ ⚠️ Deno requests run access to "sudo".
├ Requested by Deno.Command().spawn()` API.
├ Run again with --allow-run to bypass this prompt....Should "exists" function from STD be used as a last resort?
There was an undo deprecation for "exists" functions but still in the code it says this:
Note: Do not use this function if performing a check before another operation on that file. Doing so creates a race condition. Instead, perform the actual file operation directly.
So basically this message and the description in the PR, would mean use it but as last resort? e.g: third party scenarios?...
Chaining Tasks and using --watch
Is there a way to chain Deno tasks or something to that accord? I'd like to run esbuild from the command line to bundle/transpile some client JS and then have Deno start my dev webserver in watch mode. So each time a file is touched it runs esbuild and then Deno again.
How to setup deno for Lunarvim?
I've followed the steps to install the LSP for deno, but the completion and formatter doesn't work
https://lunarvim.org/docs/languages/typescript...
Unexpected token 'export' (deno_core)
Playing around with ModuleLoaders, but doesn't seem to make a difference
Scripts containing the export keyword don't load due to above error
How can I allow the keyword?...
global is not defined
Why Deno doesn't have global like node.js? There is globalThis, but some things from npm packages are based exactly on global, which can cause problems (as it happened to me)
This happened to me when I tried to use the Array type from mongoose (import { Types } from "mongoose"). This is an extended version of array, which inherits an array from global.Array, which works in deno as an inheritance from undefined...
Using querySelector on Node
I am doing something like:
```ts
const nodeList: NodeList = document.querySelectorAll(".foo");
const nodes = [...nodeList];
const result = nodes.map((n: Node) => n.querySelector("span"));...
Are there any plans to support an equivalent to emitDecoratorMetadata?
That's it really...
I appreciate that Deno doesn't emit anything, so the option would be different, but access to metadata in decorators is incredibly useful for things like DI and other cross-cutting concerns....