Channels
PHP to Javscript little code
SpeechRecognition is not found
Ignoring `deno(redirect)` in vscode?
Adding a max runtime timeout to Deno JS execution
Do you know how I can call a C variadic function in FFI Deno?
KV watch prefix?
Deno LSP Issue with import maps?
Using `Deno.FsFile.prototype.readable` with `Response`
react-helmet-async missing HelmetProvider export
"react-helmet-async": "npm:react-helmet-async@2",
"react-helmet-async": "npm:react-helmet-async@2",
Where has std/hash/sha3.ts gone?
Loading a module with `.load_main_es_module_from_code()` and TS module loader doesn't transpile
deno_core
crate works but the case seemed so mind boggling to me I created a small repo for reproduction.
The TLDR is:
1. I have a script.ts
that I load and evaluate at runtime.
2. The script.ts
uses functions from a helper library script-api.ts
...StaticModuleLoader: why must the ModuleSpecifier be a URL?
StaticModuleLoader
to my runtime to enable specific imports.
Each module for the StaticModuleLoader
is specified by a ModuleSpecifier
(type alias for url::Url
) and the corresponding code (impl IntoModuleCodeString
).
I'm wondering why the module has to be specified by a url. I read here https://choubey.gitbook.io/internals-of-deno/foundations/resolve_url_or_path that the url is crucial because it allows Deno to locate and access the modules. But I'm already providing the code in form of the value that implements IntoModuleCodeString
.
If I want to enable an import such as import foo from "bar";
in the code that runs on the runtime, what would the ModuleSpecifier
url look like that I have to pass to the StaticModuleLoader
?...Writing CSS in Fresh
Passing C enum to function and read in TypeScript
On the the exposed functions of that library is
IedConnection_connect(..., IedClientError error, ...)
, where IedClientError
is a enum with 23 entries.
To be able to use the library I need to ...intergrating Flowbite with fresh
get file path from FsFile
Deno.FsFile
, is there a way to get its path (or at least a filename)?
i can't really see a way to do that judging by the typings
e.g.
```ts...bulr to rtransparent gradient
Streaming video from browser to deno server
Migrating from Deno.run to Deno.command, how to readLines?