Deno
Chat about Deno, a modern runtime for JavaScript and TypeScript.
Join ServerCommunity questions
Channels
Deno support Fleet IDE?
Async execution context
Error Deploying to Deno Deploy LODASH isEmpty.js
Is there anywhere I could find documentation / examples on how to use deno_core / deno_runtime
need to refersh page for message each time a user from different country sends a message
here is the link-https://showcase-chat.deno.dev/
API architecture for generic callback
I have a general question about code architecture for an API I'm doing.
Basically, it listens to MIDI messages from a native library and I use an FFI binding to forward the messages to the user. A message is represented by an array of bytes, and from that you can describe its data and how to interpret it. I made a layer that converts the raw data to a typed object, but what I want to do is offer a choice to the user so he can retrieve either the raw data or the converted typed object....
How can I run `deno test` on all `*.spec.ts` files contains in a specific directory ?
pattern
option to specify we wanna run all test contains in a directoryuseEffect in the islands
useEffect(() => {
console.log('here');
});
Basic react server side rendering does not work on Deno Deploy but does locally
ReferenceError: h is not defined at handler (file:///src/server.tsx:8:33)
. ```typescript
import React from "https://esm.sh/react@18.2.0";
// @deno-types="https://denopkg.com/soremwar/deno_types/react-dom/v16.13.1/server.d.ts"
import ReactDOMServer from "https://esm.sh/react-dom@18.2.0/server";
const handler = (request: Request): Response => {...
node crypto
Pretty new to Deno, what is the recommended way to create a monorepo-like in Deno ?
My NodeJS monorepo was pretty simplistic:
- app
---- 3 projects inside (front, server, and cli)
- packages
---- 1 project inside which is used by all 3 mentioned above
I don't have any problem with Deno runtime project (eg. CLI, server, etc), Deno delivers perfectly (it's a real pleasure to work with it on those type of project).
**The real pain reside in FrontEnd with V...
[fresh] injecting css into head in a component
Autosave firing on editing `.ts` files when a separate Deno enabled project is open
I'm developing with webstorm, but I'm having a problem because the .ts file is automatically saved in the deno project, is there a solution?
Problem with parsing `base64url` from a `Buffer (node)`
import BufferProto from "node:buffer"
BufferProto.Buffer.from(
"IntcImhlbGxvXCI6XCJoZGQvZStpXCJ9Ig"
,
"base64url"
).toString()
//deno: ""
//bun: "{\"hello\":\"hdd/e+i\"}"
//node:"{\"hello\":\"hdd/e+i\"}"
UUID of managed KV database
Error at the execution of a programm
I have a problem when i run one of my programm with deno, is a programm made with typescript but whenn i execute it in the terminal he told me that he dont find the deno module, but i have install it and this error happend only on this programm if i execute an other one i will have no problem with it.
I send u some screens its better than text :))
Can't import typescript module
import * as zip from "https://deno.land/x/zipjs@v2.7.29/index.js"
import * as zipjs from "https://deno.land/x/zipjs@v2.7.29/index.d.ts";
zipjs.Writer //undefined
zip.ZipWriter //[class ZipWriter]
Is there a way to change the default Details of the compiled exe
Setting source map root with `deno_emit`
deno_emit
so bundle some assets. The code bundles properly, however the source map is using the absolute path to files on my drive. I'd prefer if it just used relative paths, is that possible? No worries if not :) thanks!In Deno, what is the best way to simply host static websites?
Without having to do a read file call every request.
And would this work with Deno Deploy?